mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-15 13:00:32 -05:00
16 lines
234 B
HCL
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"
|
|
}
|
|
}
|
|
}
|