Skip to content

Commit

Permalink
[Issue #2665] env on analytics container (#2803)
Browse files Browse the repository at this point in the history
## Summary

Relates to #2665

### Time to review: __1 mins__

## Changes proposed

Adds `ENVIRONMENT` env var to the analytics container

## Context for reviewers

https://betagrantsgov.slack.com/archives/C05TSL64VUH/p1731362475436509
  • Loading branch information
coilysiren authored Nov 12, 2024
1 parent 954d463 commit 3a1903a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/analytics/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a1903a

Please sign in to comment.