mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
22 lines
361 B
HCL
22 lines
361 B
HCL
|
|
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"
|
|
}
|
|
}
|