Skip to content

Commit

Permalink
Merge pull request #1346 from CDCgov/update-rs-url
Browse files Browse the repository at this point in the history
Use the Proper `prd` Environment Name in Terraform
  • Loading branch information
jherrflexion authored Sep 23, 2024
2 parents 81e5fb2 + 8ddbcb3 commit e11fdc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions operations/template/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
locals {
environment_to_rs_environment_prefix_mapping = {
dev = "staging"
stg = "staging"
prod = ""
dev = "staging"
stg = "staging"
prd = ""
}
selected_rs_environment_prefix = lookup(local.environment_to_rs_environment_prefix_mapping, var.environment, "staging")
rs_domain_prefix = "${local.selected_rs_environment_prefix}${length(local.selected_rs_environment_prefix) == 0 ? "" : "."}"
Expand Down

0 comments on commit e11fdc8

Please sign in to comment.