Delete removes only Stack, but not Bucket and Roles
See original GitHub issueDescribe the bug Delete command removes only Stack, but not Bucket and Roles
To Reproduce Steps to reproduce the behaviour:
Go through
amplify init
Create cloud data by using a profile
Then lunch
amplify delete
Expected behavior
To remove everything
Desktop (please complete the following information):
- OS: Windows 10
- Browser: CLI
- Version: 0.1.36
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Retain resources when deleting AWS CloudFormation stacks
The Delete option deletes the resource along with the stack. Note: This option is the default outcome if you don't set a DeletionPolicy....
Read more >How to remove a resource without deleting it during a ...
When CloudFormation deletes a bucket, the bucket must be empty. If it's not empty, then the bucket should be preserved and removed from...
Read more >Empty Your Trash While Deleting Your Stack
Easy fix! Just delete everything in the S3 bucket manually through AWS Console or via the CLI. Well, this just won't work easily...
Read more >DeletionPolicy | How to retain resources during stack deletion
Welcome to part 4 of this tutorial series on AWS CloudFormation. In this tutorial, I have covered how to retain resources while deleting...
Read more >Troubleshooting CloudFormation - 亚马逊云科技
For example, you must delete all objects in an Amazon S3 bucket or remove all ... delete nested stacks directly, but only delete...
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

It would be better if CLI will warn what exactly is going to delete. Then it won’t be an issue. Right now you can only wonder what
deleteactually does (as turns out, almost nothing).This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-helpchannels for those types of questions.