You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/command/testdata/test/shared_state_object/main.tftest.hcl

38 lines
464 B

variables {
foo = "foo"
}
run "setup" {
module {
source = "./setup"
}
variables {
input = "foo"
}
assert {
condition = output.value == var.foo
error_message = "bad"
}
}
run "test" {
variables {
input = run.setup.value
}
assert {
condition = output.value == var.foo
error_message = "double bad"
}
assert {
condition = run.setup == { value : "foo" }
error_message = "triple bad"
}
}