mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-27 04:44:09 -04:00
13 lines
345 B
HCL
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"
|
|
}
|
|
}
|