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

14 lines
305 B
HCL

variables {
# config_free isn't defined in the config, but we'll
# still let users refer to it within the assertions.
config_free = "Hello, world!"
}
run "applies_defaults" {
assert {
condition = var.input == var.config_free
error_message = "should have applied default value"
}
}