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" }