-
Notifications
You must be signed in to change notification settings - Fork 33
Fails to create change sets when a stack is in the REVIEW_IN_PROGRESS state #48
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
Comments
(I concede that this isn't a particularly important issue, as it's always safe to delete a REVIEW_IN_PROGRESS stack and try again...) |
A related observation: Normally if I update a stack that's in the ROLLBACK_COMPLETE state, stackup will automatically delete the stack and recreate it. But if I try to create a change set for a stack that's in the ROLLBACK_COMPLETE state, stackup will say I wonder if it would be appropriate to automatically delete a stack in ROLLBACK_COMPLETE (or CREATE_FAILED) before trying to create a change set for it. |
@amcinnes The stackup up/down command behaves like an upsert, where as the change sets are a CRUD operation. We can update the documentation to reflect this difference in behaviour. |
Just ran into this one myself - requires manual intervention by someone to delete these dangling stacks - It would be awesome if stackup could cleanup these REVIEW_IN_PROGRESS stacks as part of normal operation. |
It would make sense to be consistent with the auto-cleanup on stack creation. |
Using stackup 1.2.0
If I do
change-set create
against a stack that doesn't exist, a stack is created in theREVIEW_IN_PROGRESS
state, as expected.If I then try to create another change set, I get
ERROR: no such stack
.I believe this is because stackup uses a change set type of
UPDATE
when the stack already exists -- but for a stack in theREVIEW_IN_PROGRESS
state, it's appropriate to use a change set type ofCREATE
instead.The text was updated successfully, but these errors were encountered: