terraform/internal/command/testdata/test/variables/set_variables.tftest.hcl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
170 B
HCL
Raw Permalink Normal View History

run "validate_test_resource" {
variables {
input = "bar"
}
assert {
condition = test_resource.foo.value == "bar"
error_message = "invalid value"
}
}