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 a regression issue of error handling in multi_state migration #141

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

minamijoyo
Copy link
Owner

Fixes #140

We slightly fixed the behavior of the force option in #139, but the fix introduced a regression in error handling; errors in plan commands, except for detected diffs, should not be ignored regardless of force or not.

A single-state migration implementation did not have this bug because it had a similar but different implementation, but I'll take this opportunity to use the same logic.

Fixes #140

We slightly fixed the behavior of the force option in #139, but the fix
introduced a regression in error handling; errors in plan commands,
except for detected diffs, should not be ignored regardless of force or
not.
A single-state migration implementation did not have this bug because it
had a similar but different implementation, but I'll take this
opportunity to use the same logic.
@minamijoyo minamijoyo merged commit 0ca5273 into master Aug 3, 2023
7 checks passed
@minamijoyo minamijoyo deleted the fix-iss-140 branch August 3, 2023 02:13
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.

tfmigrate reports migration plan success when Terraform plan command returns an error
1 participant