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

Fix delete drift detection #16

Merged
merged 4 commits into from
May 20, 2022
Merged

Fix delete drift detection #16

merged 4 commits into from
May 20, 2022

Conversation

jeffgran
Copy link
Contributor

When we receive a 404 from the API for something in state, that's not an error, it's just "delete drift", i.e. something has been deleted outside of terraform. So we remove it from the state instead of erroring.

@jeffgran jeffgran marked this pull request as ready for review May 20, 2022 14:12
Copy link

@seanturner026 seanturner026 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jeffgran jeffgran merged commit d992ba7 into master May 20, 2022
@jeffgran jeffgran deleted the jg/delete-drift branch May 20, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants