From 2046fc4d4fe6c64a47e9bedff95ec5c71284888c Mon Sep 17 00:00:00 2001 From: roy-dydx <133032749+roy-dydx@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:51:43 -0400 Subject: [PATCH] Add AWS_REGION envvar to services that connect to kafka --- indexer/locals.tf | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"