mirror of https://github.com/hashicorp/terraform
If we don't set it, we end up creating an invalid plan where the destroy changes don't have a provider address set, which then later fails decoding when round-tripped through a planfile. This also includes some extra safety checks in EvalDiff and EvalDiffDestroy so that we can catch this bug sooner in future. This change is verified by TestContext2Apply_plannedDestroyInterpolatedCount, which is now passing.pull/19086/head
parent
48dd8ddec5
commit
49fa2b3f35
Loading…
Reference in new issue