-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Allow cleanup of states that depend on prior runs outputs #36902
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
base: f-controlling-destroys
Are you sure you want to change the base?
Conversation
f45f122
to
d9adf58
Compare
d9adf58
to
9c6189e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we also want to update the normal cleanup operation as well right? If a run block fails to get destroyed, any dependent run blocks that have different state should not be destroyed as we might need the outputs from that state file?
@liamcervante this would be a change in behavior though. It would imply that a state clean up failing prevents other states from being cleaned up. But you are right, it might be necessary, in order to appropriately cleanup that failed state. |
Yes, I think it's required though - we need to keep dependent states in place otherwise the cleanup command just can't work. There's no breaking changes so I think its fine. The existing behaviour is just "do nothing", so this change being introduced alongside the state manifest file means the user is being left with a lot more information now. |
2026f29
to
100f866
Compare
855a272
to
1cfc4f0
Compare
1cfc4f0
to
bb14136
Compare
The important changes here
|
The important changes here
skip_cleanup
is now done in the config fileTarget Release
1.13.x
CHANGELOG entry