Skip to content

Commit

Permalink
Add config to allow "Demo" NewRelic environment
Browse files Browse the repository at this point in the history
We will set NEW_RELIC_ENV=demo on our demo site, and
NEW_RELIC_ENV=production on our production site.
  • Loading branch information
tdooner committed Aug 22, 2024
1 parent a3f591e commit b052fdf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ ci:
# It doesn't make sense to report to New Relic from automated test runs.
monitor_mode: false

staging:
demo:
<<: *default_settings
app_name: Iv Cbv Payroll (Staging)
app_name: Iv Cbv Payroll (Demo)

production:
<<: *default_settings
Expand Down
4 changes: 4 additions & 0 deletions infra/app/app-config/env-config/environment-variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ locals {
name = "NEWRELIC_KEY"
ssm_param_name = "/service/${var.app_name}-${var.environment}/newrelic-key"
},
{
name = "NEW_RELIC_ENV"
ssm_param_name = "/service/${var.app_name}-${var.environment}/new-relic-env"
},

# Pinwheel Configuration:
{
Expand Down

0 comments on commit b052fdf

Please sign in to comment.