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

Can not delete Amplify backend after delete their bucket in s3 #2456

Closed
duyetphamm opened this issue Dec 15, 2021 · 5 comments
Closed

Can not delete Amplify backend after delete their bucket in s3 #2456

duyetphamm opened this issue Dec 15, 2021 · 5 comments
Labels
archived This issue has been locked. bug Something isn't working question Further information is requested

Comments

@duyetphamm
Copy link

duyetphamm commented Dec 15, 2021

After creating amplify backend. I have found out some buckets in my aws s3.
I'm new on AWS so, I do not know about the relationship between my amplify backend and buckets in s3.
I have tried to delete those buckets then amplify backend could not detect environment anymore.
Finally, I have tried to delete the backend also the amplify app but nothing work.

In console,
After I delete app, I got this message "Invoking remove all backends execution failed"
After deleting bankend, I got this message "Deleting backend env: undefined from app: d2dpdzrg81wf52 failed"

" No Amplify backend project files detected within this folder. Either initialize a new Amplify project or pull an existing project.
- "amplify init" to initialize a new Amplify project
- "amplify pull " to pull your existing Amplify project. Find the in the AWS Console or Amplify Admin UI."
I also get this message, while deleting app using cli

Please help/guide me to delete amplify app!
region=ap-southeast-1
appId= d2dpdzrg81wf52

@duyetphamm duyetphamm added the question Further information is requested label Dec 15, 2021
@github-actions
Copy link

Hi 👋, thanks for opening! While we look into this...

If this issue is related to custom domains, be sure to check the custom domains troubleshooting guide to see if that helps. Also, there is a more general troubleshooting FAQ that may be helpful for other questions.

Lastly, please make sure you've specified the App ID and Region in the issue!

@ghost
Copy link

ghost commented Dec 15, 2021

Hi @duyetphamm 👋🏽 thanks for raising this! Try running this command to completely remove your backend: aws amplify delete-backend-environment --app-id <YOUR_APP_ID> --environment-name <THE_BACKEND_ENVIRONMENT_NAME>.

@ghost ghost self-assigned this Dec 15, 2021
@abhi7cr abhi7cr added the bug Something isn't working label Dec 16, 2021
@duyetphamm
Copy link
Author

I can delete it now. thank you @hloriana

@chrisl777
Copy link

Note that I had to add the --profile argument, as in: aws amplify delete-backend-environment --app-id <APP_ID> --environment-name <ENV_NAME> --profile <PROFILE_NAME>

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the archived This issue has been locked. label Oct 28, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants