Files
opentf/terraform
Martin Atkins c63c06d3c4 core: -replace to emit only one warning for incomplete address
If the user gives an index-less address for a resource that expects
instance keys then previously we would've emitted one error per declared
instance of the resource, which is overwhelming and not especially
helpful.

Instead, we'll deal with that check prior to expanding resources into
resource instances, and thus we can report a single error which talks
about all of the instances at once.

This does unfortunately come at the expense of splitting the logic for
dealing with the "force replace" addresses into two places, which will
likely make later maintenance harder. In an attempt to mitigate that,
I've included a comment in each place that mentions the other place, which
hopefully future maintainers will keep up-to-date if that situation
changes.
2021-05-03 15:43:23 -07:00
..
2021-04-30 10:30:56 -07:00
2021-01-20 10:33:57 -05:00
2020-12-02 13:59:18 -05:00
2020-12-02 13:59:18 -05:00
2020-12-02 13:59:18 -05:00
2020-12-02 13:59:18 -05:00
2020-09-22 10:27:45 -04:00
2020-12-02 13:59:18 -05:00
2020-10-28 14:40:30 -04:00
2020-04-08 10:02:43 -04:00
2020-12-02 13:59:18 -05:00
2021-01-20 10:33:57 -05:00
2021-04-28 18:01:50 -04:00
2020-12-02 13:59:18 -05:00
2020-05-12 11:07:00 -04:00
2020-12-02 13:59:18 -05:00
2021-01-07 10:28:40 -05:00
2020-12-02 13:59:18 -05:00
2020-09-22 10:27:45 -04:00