Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Prevent errors from NoOp deposed changes into v1.3 #31927

Merged
merged 1 commit into from Oct 3, 2022

Conversation

teamterraform
Copy link
Contributor

Backport

This PR is auto-generated from #31902 to be assessed for backporting due to the inclusion of the label 1.3-backport.

The below text is copied from the body of the original PR.


If a previously deposed object is deleted outside of Terraform, the next plan will result in a NoOp change for the deposed object.

If that NoOp change was flagged as an update to run any associated condition checks, it would fail the following test to ensure a deposed change is only ever participating in a delete operation. Fix the check to verify that the deposed object has an acceptable action rather than use the update flag.

Fixes #31896

@teamterraform teamterraform force-pushed the backport/jbardin/noop-deposed/openly-accepted-sole branch from 9c1b9fe to 97ec666 Compare October 3, 2022 16:11
@jbardin jbardin merged commit 0154b3b into v1.3 Oct 3, 2022
@jbardin jbardin deleted the backport/jbardin/noop-deposed/openly-accepted-sole branch October 3, 2022 16:23
@github-actions
Copy link

github-actions bot commented Oct 3, 2022

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants