diff --git a/indexer/locals.tf b/indexer/locals.tf index 1169f232..b20af218 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -38,6 +38,10 @@ locals { should_deploy_in_rds_subnet : true, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "PG_POOL_MAX", value : "30" @@ -109,6 +113,10 @@ locals { should_deploy_in_rds_subnet : false, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "COMLINK_URL", value : aws_lb.public.dns_name, @@ -207,6 +215,10 @@ locals { should_deploy_in_rds_subnet : false, ecs_environment_variables : flatten( [ + { + name : "AWS_REGION", + value : var.region, + }, { name : "PG_POOL_MAX", value : "2"