github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/internal/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 }