mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
* evaluate: return diagnostics instead of unknown for uninitialised locals and resources * changelog * also input variables
17 lines
No EOL
213 B
HCL
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"
|
|
}
|
|
} |