opentofu/configs/configupgrade
Martin Atkins 8490fc36f7 configs/configupgrade: Fix up references to counted/uncounted resources
Prior to v0.12 Terraform was liberal about these and allowed them to
mismatch, but now it's important to get this right so that resources
and resource instances can be used directly as object values, and so
we'll fix up any sloppy existing references so things keep working as
expected.

This is particularly important for the pattern of using count to create
conditional resources, since previously the "true" case would create one
instance and Terraform would accept an unindexed reference to that.
2018-12-04 11:37:39 -08:00
..
test-fixtures configs/configupgrade: Fix up references to counted/uncounted resources 2018-12-04 11:37:39 -08:00
analysis.go configs/configupgrade: Fix up references to counted/uncounted resources 2018-12-04 11:37:39 -08:00
doc.go configupgrade: new package for upgrading configs for 0.12 2018-10-16 18:50:29 -07:00
module_sources_test.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
module_sources.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
upgrade_body.go configs/configupgrade: Print trailing comments inside blocks 2018-12-04 11:37:39 -08:00
upgrade_expr.go configs/configupgrade: Fix up references to counted/uncounted resources 2018-12-04 11:37:39 -08:00
upgrade_native.go configs/configupgrade: Fix up references to counted/uncounted resources 2018-12-04 11:37:39 -08:00
upgrade_test.go configs/configupgrade: Normalize and upgrade reference expressions 2018-12-04 11:37:39 -08:00
upgrade.go configupgrade: Analysis of input configuration 2018-10-16 18:50:29 -07:00
upgrader.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00