terraform/internal/command/testdata/test/deferred_changes/update.tftest.hcl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
361 B
HCL
Raw Permalink Normal View History

run "create" {
variables {
defer = false
}
assert {
condition = !test_resource.resource.defer
error_message = "deferred resource attribute should be false"
}
}
run "update" {
variables {
defer = true
}
assert {
condition = test_resource.resource.defer
error_message = "deferred resource attribute should be true"
}
}