mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
f054c5ca2c
Fixes #7846 This changes from using the HCL decoder to manually decoding the `variable` blocks within the configuration. This gives us a lot more power to catch validation errors. This PR retains the same tests and fixes one additional issue (covered by a test) in the case where a variable has no named assigned.
6 lines
78 B
HCL
6 lines
78 B
HCL
variable {
|
|
name = "test"
|
|
default = "test_value"
|
|
type = "string"
|
|
}
|