7216049fdb
Previously we were just asserting that the number of elements didn't grow between planned and actual. We still can't precisely correlate elements in sets with unknown values, but here we adapt some logic we added earlier to config/hcl2shim to ensure that we can find a plausible correlation for each element in each set to at least one element in the other set, and thus catch more cases where set elements might vanish or appear between plan and apply, for improved safety. This will still generate false negatives in some cases where unknown values are present due to having to assume correlation is intended wherever it is possible, but we'll catch situations where the actual value is obviously contrary to what was planned. |
||
---|---|---|
.. | ||
compatible.go | ||
compatible_test.go | ||
doc.go | ||
lcs.go | ||
lcs_test.go | ||
objchange.go | ||
objchange_test.go |