Files
opentf/internal/command/testdata/test/destroyed_mod_outputs/main.tftest.hcl
2024-12-10 16:34:25 +02:00

22 lines
389 B
HCL

run "first_apply" {
variables {
numbers = [ "a", "b" ]
}
assert {
condition = length(module.mod) == 2
error_message = "Amount of module outputs is wrong"
}
}
run "second_apply" {
variables {
numbers = [ "c", "d" ]
}
assert {
condition = length(module.mod) == 2
error_message = "Amount of module outputs is wrong (persisted outputs?)"
}
}