terraform/configs/hcl2shim
Martin Atkins b0da5b1ce5 core: Remove the last few HIL remnants
We've not been using HIL in the main codepaths since Terraform 0.12, but
some references to it (and some supporting functionality in Terraform)
stuck around due to interactions with types we'd kept around to support
legacy shims.

However, removing the configs.RawConfig field from
terraform.ResourceConfig disconnects that subtree of dependencies from
everything else, allowing us to remove it. This is safe because the only
remaining uses of terraform.ResourceConfig are shims from values that
were already evaluated using the HCL 2 API, and thus they never need
the "just in time" HIL evaluation that ResourceConfig.interpolateForce
used to do.

We also had some HIL references in configs/hcl2shim that were previously
in support of the "terraform 0.12upgrade" command, but the implementation
of that command is now removed.

There was one remaining reference to HIL in a now-unused function in the
helper/schema package, which I removed entirely here.

This then allows us to remove the HIL dependency entirely, and also to
clean up some remaining old remants of the legacy "config" package that
we'd recently moved into the "configs" package pending further pruning.
2020-09-02 15:53:33 -07:00
..
flatmap.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
flatmap_test.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
paths.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
paths_test.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
single_attr_body.go vendor: switch to HCL 2.0 in the HCL repository 2019-10-02 15:10:21 -07:00
values.go core: Remove the last few HIL remnants 2020-09-02 15:53:33 -07:00
values_equiv.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
values_equiv_test.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00
values_test.go move hcl2shim package to configs 2019-08-06 19:58:58 -04:00