Skip to content

Commit

Permalink
Add AWS_REGION envvar to services that connect to kafka (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx authored Sep 27, 2024
1 parent 0495e63 commit 17fe918
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions indexer/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 17fe918

Please sign in to comment.