From ea02b0ede4e589d0813964a8df16d5d444b4753c Mon Sep 17 00:00:00 2001 From: Kyle Kotowick Date: Tue, 10 Sep 2024 13:47:07 -0400 Subject: [PATCH] Update outputs.tf --- assertion/outputs.tf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/assertion/outputs.tf b/assertion/outputs.tf index ba95675..11614f7 100644 --- a/assertion/outputs.tf +++ b/assertion/outputs.tf @@ -8,10 +8,7 @@ output "condition" { value = var.condition } -locals { - condition = var.condition -} output "checked" { description = "Whether the condition has passed validation (used for assertion dependencies)." - value = local.condition == true ? true : true + value = jsonencode(var.condition) != "true" }