terraform/internal/command/testdata/test/invalid-reference-with-target/main.tftest.hcl
Liam Cervante 1e414491c7
evaluate: return diagnostics instead of unknown for uninitialised locals and resources (#37663)
* evaluate: return diagnostics instead of unknown for uninitialised locals and resources

* changelog

* also input variables
2025-09-24 16:27:43 +02:00

17 lines
No EOL
213 B
HCL

run "test" {
command = plan
plan_options {
target = [test_resource.two]
}
variables {
input = "hello"
}
assert {
condition = var.input == "hello"
error_message = "wrong input"
}
}