Skip to content

Commit

Permalink
add prod config
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-s-nava committed Nov 21, 2024
1 parent b146d34 commit 666938b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 1 addition & 4 deletions infra/api/app-config/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@ module "dev_config" {
# https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html#choosing-version
search_engine_version = "OpenSearch_2.15"

service_override_extra_environment_variables = {
NEW_RELIC_ENABLED = "true"
NODE_OPTIONS = "-r @newrelic/next"
}
service_override_extra_environment_variables = {}
}
4 changes: 4 additions & 0 deletions infra/frontend/app-config/dev.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ module "dev_config" {
instance_scaling_min_capacity = 2
# instance_scaling_max_capacity is 5x the instance_scaling_min_capacity
instance_scaling_max_capacity = 10

service_override_extra_environment_variables = {
NEW_RELIC_ENABLED = "true"
NODE_OPTIONS = "-r @newrelic/next"}
}
5 changes: 5 additions & 0 deletions infra/frontend/app-config/prod.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@ module "prod_config" {

instance_cpu = 1024
instance_memory = 2048

service_override_extra_environment_variables = {
NEW_RELIC_ENABLED = "true"
NODE_OPTIONS = "-r @newrelic/next"
}
}

0 comments on commit 666938b

Please sign in to comment.