terraform/config/hcl2shim
Martin Atkins 299fe25a04 hcl2shim: Handle unknown values when shimming to/from flatmap
Previously unknown values were round-tripping through flatmap and coming
out as known strings containing the UnknownVariableValue. (The classic bug
that, ironically, was one of the big reasons to write cty!)

Now we properly handle unknown values in both directions: going in to
flatmap we write UnknownVariableValue at the appropriate key (as the count
for sequences or maps) and then coming out of flatmap we turn
UnknownVariableValue back into a cty unknown value of the requested type.
2018-10-16 18:48:28 -07:00
..
flatmap.go hcl2shim: Handle unknown values when shimming to/from flatmap 2018-10-16 18:48:28 -07:00
flatmap_test.go hcl2shim: Handle unknown values when shimming to/from flatmap 2018-10-16 18:48:28 -07:00
single_attr_body.go
values.go
values_test.go