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

SAM error puts stack into indeterminate, undeletable state #5533

Closed
garretwilson opened this issue Jul 15, 2023 · 2 comments
Closed

SAM error puts stack into indeterminate, undeletable state #5533

garretwilson opened this issue Jul 15, 2023 · 2 comments
Labels
area/delete stage/waiting-for-release Fix has been merged to develop and is waiting for a release type/bug

Comments

@garretwilson
Copy link

garretwilson commented Jul 15, 2023

I'm using SAM version 1.88.0 on Windows 10.

If something goes wrong with a deployment (for example, the SAM bug in aws/serverless-application-model#3264), SAM leaves the stack in some REVIEW_IN_PROGRESS state that isn't deployed and but isn't deleted either. If I try to delete the stack using sam delete, it says:

Error: The input my-stack does not exist on Cloudformation in the region None

I'm forced go into the CloudFormation console and manually delete the stack. I should never be forced to go into the console to do something because SAM put something into an indeterminate state. At the very least I should be able to delete the thing and start over from the command line.

(I haven't tried deleting from CloudFormation, but in any case I should be able to delete a failed deployment stack from SAM.)

@garretwilson garretwilson added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Jul 15, 2023
@hawflau
Copy link
Contributor

hawflau commented Jul 17, 2023

@garretwilson Thanks for raising the issue. Marking this issue as a bug. We will prioritize fixing it.

@hawflau hawflau added type/bug area/delete and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Jul 17, 2023
@lucashuy lucashuy added the stage/waiting-for-release Fix has been merged to develop and is waiting for a release label Aug 4, 2023
@github-actions
Copy link
Contributor

Patch is released in v1.95.0. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/delete stage/waiting-for-release Fix has been merged to develop and is waiting for a release type/bug
Projects
None yet
Development

No branches or pull requests

3 participants