terraform/configs/configupgrade/test-fixtures/valid/ignore-changes-flatmap-colls
Martin Atkins 54bb0b1e25 configs/configupgrade: Silently ignore and trim .% .# in ignore_changes
Prior to Terraform 0.12, ignore_changes was implemented in a
flatmap-oriented fashion and so users found that they could (and in fact,
were often forced to) use the internal .% and .# suffixes flatmap uses to
ignore changes to the number of elements in a list or map.

Terraform 0.12 no longer uses that representation, so we'll interpret
ignoring changes to the length as ignoring changes to the entire
collection. While this is not a totally-equivalent change, in practice
this pattern was most often used in conjunction with specific keys from a
map in order to _effectively_ ignore the entire map, even though Terraform
didn't really support that.
2019-02-20 15:58:44 -08:00
..
input configs/configupgrade: Silently ignore and trim .% .# in ignore_changes 2019-02-20 15:58:44 -08:00
want configs/configupgrade: Silently ignore and trim .% .# in ignore_changes 2019-02-20 15:58:44 -08:00