terraform/configs/configupgrade/test-fixtures/valid/block-as-list-dynamic-nested
Martin Atkins 6596d031d9 configs/configupgrade: Convert block-as-attr to dynamic blocks
Users discovered that they could exploit some missing validation in
Terraform v0.11 and prior to treat block types as if they were attributes
and assign dynamic expressions to them, with some significant caveats and
gotchas resulting from the fact that this was never intended to work.

However, since such patterns are in use in the wild we'll convert them
to a dynamic block during upgrade. With only static analysis we must
unfortunately generate a very conservative, ugly dynamic block with
every possible argument set. Users ought to then clean up the generated
configuration after confirming which arguments are actually required.
2018-12-04 11:37:39 -08:00
..
input configs/configupgrade: Convert block-as-attr to dynamic blocks 2018-12-04 11:37:39 -08:00
want configs/configupgrade: Convert block-as-attr to dynamic blocks 2018-12-04 11:37:39 -08:00