Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
update non_pr_environment variable to a blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
saquino0827 committed Sep 13, 2024
1 parent 1535d54 commit 5d5590f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations/template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +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"
non_pr_environment = contains(["internal", "dev", "stg", "prd"], var.environment)
non_pr_environment = !strcontains(var.environment, "pr")
}

data "azurerm_resource_group" "group" {
Expand Down

0 comments on commit 5d5590f

Please sign in to comment.