opentofu/terraform/test-fixtures/issue-7824/main.tf
James Nugent 7af10adcbe core: Do not assume HCL parser has touched vars
This PR fixes #7824, which crashed when applying a plan file. The bug is
that while a map which has come from the HCL parser reifies as a
[]map[string]interface{}, the variable saved in the plan file was not.
We now cover both cases.

Fixes #7824.
2016-07-27 17:14:47 -05:00

6 lines
69 B
HCL

variable "test" {
type = "map"
default = {
"test" = "1"
}
}