Skip to content

Commit

Permalink
Update locals.tf to allow the takeover to be implemented in our QA in…
Browse files Browse the repository at this point in the history
…stance instead than our PROD
  • Loading branch information
arevelo-bc authored Jul 16, 2024
1 parent 94e3f30 commit 5c869fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
locals {
env = lower(terraform.workspace)
takeover = var.takeover == true && local.env == var.production_workspace ? true : false
# takeover = var.takeover == true && local.env == var.production_workspace ? true : false
takeover = var.takeover == true && local.env == "qa" ? true : false
}

0 comments on commit 5c869fc

Please sign in to comment.