Stack with id <STACK_NAME> does not exist
See original GitHub issueThis is a Bug Report
Description
Using AWS, recently I’ve started getting the error: Stack with id <STACK_NAME> does not exist
. I am not sure why exactly it’s happening, but it might be triggered by deleting the stack in the AWS console. I think I have completely purged any reference to the stack from AWS.
The only way I found to recover from that is manually creating a stack with Cloudformation using the same name and redeploying on top of that using Serverless. How can we fix that more elegantly?
Additional Data
Serverless Framework Version: 1.15.0 I am using the serverless-aws-alias plugin, version 1.2.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Stack with id does not exist - Seed.run
A couple of common causes for this error: Serverless Framework was not able to find the previously deployed CloudFormation stack for your Serverless...
Read more >Stack with id does not exist? Stack definitely exists
The stack ID in question is an existing CloudFormation stack that definitely exists in the target account. I've googled high & low for...
Read more >"Stack with id X does not exist" on all sls commands after ...
The problem is that the ${cf:...} syntax requires the output of an existing CloudFormation stack and when you have not yet deployed the ......
Read more >serverless-deploy failed - ValidationError: Stack with id does ...
The error show that stack does not exist, that means it was not created. Unfortunately, I see here, it is not shown in...
Read more >Finding stack IDs - AMS Advanced User Guide
To find a Stack ID, you can use either the Amazon EC2 console, AMS console, or the AMS SKMS API/CLI. AMS Console: In...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
in my case, i just needed to specify the region as well
I’m seeing this as well, but I’m hitting too many buckets error on AWS. The terminal doesn’t send this information back.