terraform/config/hcl2shim
James Bardin 44e993ec29 add hcl2shim.PathFromFlatmapKey
PathFromFlatmapKey is used to convert a flatmap key to a cty.Path, and
ensures it conforms to the type schema.

This is used when handling Diffs, where the ResourceAttrDiffs are
indexed by the flatmapped key values, and we need to convert those to
addresses to apply to a cty.Value.
2018-10-16 18:53:51 -07:00
..
flatmap.go handle Null collections in flatmaps 2018-10-16 18:53:51 -07:00
flatmap_test.go handle Null collections in flatmaps 2018-10-16 18:53:51 -07:00
paths.go add hcl2shim.PathFromFlatmapKey 2018-10-16 18:53:51 -07:00
paths_test.go add hcl2shim.PathFromFlatmapKey 2018-10-16 18:53:51 -07:00
single_attr_body.go config/hcl2shim: make some of the HCL2 shim functions public 2017-10-16 17:54:02 -07:00
values.go config/hcl2shim: don't put nils in ConfigValue maps 2018-10-16 18:24:10 -07:00
values_test.go config/hcl2shim: make some of the HCL2 shim functions public 2017-10-16 17:54:02 -07:00