terraform/configs/configupgrade/test-fixtures/valid
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
..
block-as-list-attr configs/configupgrade: Upgrading of simple nested blocks 2018-12-04 11:37:39 -08:00
block-as-list-dynamic configs/configupgrade: Convert block-as-attr to dynamic blocks 2018-12-04 11:37:39 -08:00
block-as-list-dynamic-item configs/configupgrade: Convert block-as-attr to dynamic blocks 2018-12-04 11:37:39 -08:00
block-as-list-dynamic-nested configs/configupgrade: Convert block-as-attr to dynamic blocks 2018-12-04 11:37:39 -08:00
block-as-map-attr configs/configupgrade: Upgrading of simple nested blocks 2018-12-04 11:37:39 -08:00
funcs-replaced configs/configupgrade: Replace lookup(...) with index syntax 2018-12-04 11:37:39 -08:00
interp-naked configupgrade: Basic expression formatting 2018-10-16 18:50:29 -07:00
map-attr-as-block configs/configupgrade: Test that map attrs as blocks are fixed 2018-12-04 11:37:39 -08:00
nested-exprs-in-hcl configs/configupgrade: Upgrade expressions nested in HCL list/object 2018-12-04 11:37:39 -08:00
noop configs/configupgrade: Test that map attrs as blocks are fixed 2018-12-04 11:37:39 -08:00
noop-exprs configupgrade: Basic expression formatting 2018-10-16 18:50:29 -07:00
rename-json configupgrade: Basic expression formatting 2018-10-16 18:50:29 -07:00
rename-json-conflict configupgrade: Basic expression formatting 2018-10-16 18:50:29 -07:00
traversals configs/configupgrade: Fix up references to counted/uncounted resources 2018-12-04 11:37:39 -08:00
variable-type configupgrade: Basic expression formatting 2018-10-16 18:50:29 -07:00