github.com/pulumi/terraform@v1.4.0/pkg/configs/testdata/invalid-files/precondition-postcondition-missing-condition.tf (about) 1 resource "example" "example" { 2 foo = 5 3 4 lifecycle { 5 precondition { # ERROR: Missing required argument 6 error_message = "Can a check block fail without a condition?" 7 } 8 postcondition { # ERROR: Missing required argument 9 error_message = "Do not try to pass the check; only realize that there is no check." 10 } 11 } 12 }