Skip to content

Commit

Permalink
setting a temp var to trigger pr env build
Browse files Browse the repository at this point in the history
  • Loading branch information
somesylvie committed Oct 25, 2024
1 parent c09162e commit 43a113f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operations/template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ locals {
rs_domain_prefix = "${local.selected_rs_environment_prefix}${length(local.selected_rs_environment_prefix) == 0 ? "" : "."}"
higher_environment_level = var.environment == "stg" || var.environment == "prd"
cdc_domain_environment = var.environment == "dev" || var.environment == "stg" || var.environment == "prd"
cheezburger = "cheezburger" // setting something in TF to trigger a PR build

// If the environment looks like pr123, regexall will contain matches. If there are no matches, it's a non-pr env
non_pr_environment = length(regexall("^pr\\d+", var.environment)) == 0
Expand Down

0 comments on commit 43a113f

Please sign in to comment.