Skip to content

Commit

Permalink
Address comments, fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed Oct 27, 2023
1 parent bd8fc5c commit 20b77a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion indexer/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ data "aws_ecr_repository" "full_node_ap_northeast_1" {
name = var.full_node_ecr_repository_name
}

data "aws_ecr_repository" "snapshot_ful_node_ap_northeast_1" {
data "aws_ecr_repository" "snapshot_full_node_ap_northeast_1" {
count = var.environment == "mainnet" ? 1 : 0
name = var.snapshot_full_node_ecr_repository_name
}
2 changes: 1 addition & 1 deletion indexer/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -307,5 +307,5 @@ locals {

locals {
node_ecr_repository_url = var.environment == "mainnet" ? data.aws_ecr_repository.full_node_ap_northeast_1[0].repository_url : data.aws_ecr_repository.full_node_us_east_2[0].repository_url
snapshot_node_ecr_repository_url = var.environment == "mainnet" ? data.aws_ecr_repository.snapshot_ful_node_ap_northeast_1[0].repository_url : data.aws_ecr_repository.snapshot_full_node_us_east_2[0].repository_url
snapshot_node_ecr_repository_url = var.environment == "mainnet" ? data.aws_ecr_repository.snapshot_full_node_ap_northeast_1[0].repository_url : data.aws_ecr_repository.snapshot_full_node_us_east_2[0].repository_url
}
4 changes: 2 additions & 2 deletions indexer/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ variable "vulcan_ecs_environment_variables" {
}

variable "public_access" {
type = bool
type = bool
description = "Enables public access of the indexer endpoints."
default = true
default = true
}

0 comments on commit 20b77a0

Please sign in to comment.