github.com/opentofu/opentofu@v1.7.1/internal/backend/local/testdata/apply-check/main.tf (about) 1 resource "test_instance" "foo" { 2 ami = "bar" 3 } 4 5 check "test_instance_exists" { 6 assert { 7 condition = test_instance.foo.id != null 8 error_message = "value should have been computed" 9 } 10 }