Skip to content

Commit

Permalink
Update outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Sep 10, 2024
1 parent b9b6332 commit ea02b0e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions assertion/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit ea02b0e

Please sign in to comment.