question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete removes only Stack, but not Bucket and Roles

See original GitHub issue

Describe 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:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ArmorDarkscommented, Dec 12, 2018

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 delete actually does (as turns out, almost nothing).

0reactions
github-actions[bot]commented, May 27, 2021

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 *-help channels for those types of questions.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found