mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-06 07:20:44 -05:00
* terraform test: check specific dependencies before skipping run blocks * fix data race * complete comment
32 lines
334 B
HCL
32 lines
334 B
HCL
test {
|
|
parallel = true
|
|
}
|
|
|
|
run "one" {
|
|
state_key = "one"
|
|
|
|
variables {
|
|
input = "one"
|
|
}
|
|
|
|
assert {
|
|
condition = output.value
|
|
error_message = "something"
|
|
}
|
|
}
|
|
|
|
run "two" {
|
|
state_key = "two"
|
|
|
|
variables {
|
|
input = run.one.value
|
|
}
|
|
}
|
|
|
|
run "three" {
|
|
state_key = "three"
|
|
|
|
variables {
|
|
input = "three"
|
|
}
|
|
}
|