github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/expect_runtime_check_fail/main.tf (about) 1 resource "test_resource" "resource" {} 2 3 check "check" { 4 assert { 5 condition = test_resource.resource.id == "" 6 error_message = "check block: resource has no id" 7 } 8 }