Files
opentf/internal/command/testdata/test/with_setup_module/main.tftest.hcl

22 lines
288 B
HCL

variables {
managed_id = "B853C121"
}
run "setup" {
module {
source = "./setup"
}
variables {
value = "Hello, world!"
id = "B853C121"
}
}
run "test" {
assert {
condition = test_resource.created.value == "Hello, world!"
error_message = "bad value"
}
}