diff --git a/infra/analytics/service/main.tf b/infra/analytics/service/main.tf index 4870bef17..8acae803a 100644 --- a/infra/analytics/service/main.tf +++ b/infra/analytics/service/main.tf @@ -138,7 +138,8 @@ module "service" { } } - extra_environment_variables = local.service_config.extra_environment_variables + extra_environment_variables = merge(local.service_config.extra_environment_variables, { "ENVIRONMENT" : var.environment_name }) + secrets = concat( [for secret_name in keys(local.service_config.secrets) : { name = secret_name