mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 18:56:57 -05:00
14 lines
305 B
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"
|
|
}
|
|
}
|