From 5c869fc5a7c28c6d926760a453f579228cdf3282 Mon Sep 17 00:00:00 2001 From: Alexis Revelo <129888160+arevelo-bc@users.noreply.github.com> Date: Tue, 16 Jul 2024 16:39:04 -0600 Subject: [PATCH] Update locals.tf to allow the takeover to be implemented in our QA instance instead than our PROD --- locals.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/locals.tf b/locals.tf index 9595b416..4df08ca7 100644 --- a/locals.tf +++ b/locals.tf @@ -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 }