aws-amplify / amplify-cli

The AWS Amplify CLI is a toolchain for simplifying serverless web and mobile development.
Apache License 2.0
2.83k stars 823 forks source link

S3 bucket does not get deleted in hosting. #10478

Open ykethan opened 2 years ago

ykethan commented 2 years ago

Before opening, please confirm:

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

No response

Amplify CLI Version

8.3.0

What operating system are you using?

Windows

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Amplify Categories

hosting

Amplify Commands

delete

Describe the bug

The hosting bucket created by amplify via amplify add hosting does not get deleted when removing the bucket using amplify remove hosting and then doing a push. Additionally, performed a amplify delete as well but the bucket persists.

Expected behavior

Delete bucket when when removing the hosting and pushing it

Reproduction steps

  1. amplify add hosting
  2. amplify push
  3. amplify remove hosting
  4. amplify push
  5. amplify delete (optional)

GraphQL schema(s)

```graphql # Put schemas below this line ```

Log output

``` # Put your logs below this line ```

Additional information

No response

zacsonskaria commented 2 years ago

I am also seeing the same behavior where s3 buckets are not removed despite removing hosting. Is this issue resolved?

ykethan commented 2 years ago

Hey @zacsonskaria, thank you for reaching out. The issue will be discussed as part of our weekly meetings.