Files
opentf/internal/command/testdata/test/expect_failures_resources/main.tf

16 lines
234 B
HCL

variable "input" {
type = string
}
resource "test_resource" "resource" {
value = var.input
lifecycle {
postcondition {
condition = self.value != var.input
error_message = "this really should fail"
}
}
}