terraform/internal/command/testdata/test/no_state/main.tftest.hcl
2025-02-18 19:33:41 +01:00

13 lines
345 B
HCL

run "first" {
variables {
input = 2
}
// var.input2 is ephemeral, and this would cause it to not be set during the plan phase,
// but will be set to default during the apply phase. This leads to the apply update being null
assert {
condition = output.output == var.input2
error_message = "output should have been null"
}
}