diff --git a/indexer/ecr.tf b/indexer/ecr.tf index abc92c5f..4cb37c00 100644 --- a/indexer/ecr.tf +++ b/indexer/ecr.tf @@ -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 } diff --git a/indexer/locals.tf b/indexer/locals.tf index d7130ce2..a48f3851 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -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 } diff --git a/indexer/variables.tf b/indexer/variables.tf index 6bef497e..57ff5d03 100644 --- a/indexer/variables.tf +++ b/indexer/variables.tf @@ -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 }