mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
33 lines
No EOL
460 B
HCL
33 lines
No EOL
460 B
HCL
|
|
run "first" {
|
|
|
|
command = plan
|
|
|
|
variables {
|
|
input = {
|
|
one = "one"
|
|
two = "two"
|
|
}
|
|
}
|
|
}
|
|
|
|
run "second" {
|
|
|
|
command = plan
|
|
|
|
variables {
|
|
input = {
|
|
# This should be okay, as run.first.one is unknown but we're not
|
|
# referencing it directly.
|
|
one = "one"
|
|
two = run.first.two
|
|
}
|
|
}
|
|
}
|
|
|
|
run "third" {
|
|
variables {
|
|
# This should fail as one of the values in run.second is unknown.
|
|
input = run.second
|
|
}
|
|
} |