mirror of https://github.com/hashicorp/terraform
do not create delete change for nonexistent output (#31471)
If there are outputs in configuration, a destroy plan will always contain a "delete" change for each of these outputs. This leads to meaningless delete changes being present for outputs which were not present in state and therefore cannot be deleted. Since there is a change in the plan, this plan will then be considered applyable, and the user will be presented with text instructing them to apply a plan in which there are no actual changes. This commit stops the above from happening in the case of root module outputs.pull/31573/head
parent
a857084dfe
commit
c4a00664d7
Loading…
Reference in new issue