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 handling of server-deletes resulting in 404s #156

Merged
merged 1 commit into from
Jun 27, 2022

Conversation

NicoK
Copy link
Contributor

@NicoK NicoK commented Jan 3, 2022

d61a16e initially established the behaviour that server-side deletes or a REST resource are handled gracefully be the plugin (by re-creating the resource instead of failing in terraform plan) but this behavour got broken with ef7f07a.

The test case that was verifying this also got changed in c43d333 so this PR reverts that change as well to establish the original behaviour.

Ultimately, the error-matching via strings does not seem the most stable choice for the future (as shown by ef7f07a), but refactoring this is outside of the scope of this PR.

This got broken with ef7f07a.

Also revert commit c43d333 which changed a
test case that is supposed to verify that server-side deletes are handled
gracefully.
@DRuggeri
Copy link
Member

Oh wow... somehow I didn't realize this PR was out there for the past six months! I'll test this right now and merge shortly assuming no issues!

@DRuggeri DRuggeri merged commit f9d55ba into Mastercard:master Jun 27, 2022
@DRuggeri
Copy link
Member

Thanks @NicoK for the patch. I'm super embarrassed it sat so long!

@DRuggeri
Copy link
Member

This has been tagged and released as v1.17.0 - thanks again!

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.

2 participants