mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-22 19:24:37 -05:00
22 lines
389 B
HCL
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?)"
|
|
}
|
|
}
|