Skip to content

Commit

Permalink
Update environment variable key to uppercase in API Gateway authorize…
Browse files Browse the repository at this point in the history
…r module
  • Loading branch information
matt-heery committed Dec 17, 2024
1 parent bb60c7a commit dc63b21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ module "api_gateway_authorizer" {
core_shared_services_id = local.environment_management.account_ids["core-shared-services-production"]
production_dev = local.is-production ? "prod" : "dev"
environment_variables = {
environment_name = local.is-production ? "prod" : local.is-preproduction ? "preprod" : local.is-test ? "test" : "dev"
ENVIRONMENT_NAME = local.is-production ? "prod" : local.is-preproduction ? "preprod" : local.is-test ? "test" : "dev"
}
}

Expand Down

0 comments on commit dc63b21

Please sign in to comment.