samadhan
samadhan

Reputation: 291

Can't delete amplify app from amplify dashboard

I Can't delete app_name app from the dashboard

Can't delete app_name app: Removing backend envs for app XXX failed

I deleted an associated S3 bucket & CloudFormation manually.

I've tried everything and I can't delete an app

Upvotes: 13

Views: 3402

Answers (3)

johncorser
johncorser

Reputation: 9822

It appears that you've been having an issue distinct from, but related to this one: AWS Amplify: How to delete the environment, when resources are already partially deleted?

In your case, you mention that you've deleted the S3 bucket & CloudFormation stack associated with the amplify app manually.

As of 9/26/2022 Amplify released an update that fixes issues deleting apps/backends, including issues where the s3 bucket and cloudformation stack was already deleted as you mention you have done.

Upvotes: 0

open AWS CloudShell and run cmd: aws amplify delete-app --app-id <your_app-id>

you can find amplify app id at amplify app detail

Upvotes: 19

Marko Eskola
Marko Eskola

Reputation: 818

Try to use AWS CLI and either :

  • run command "aws amplify delete-app" (you will need appid) or
  • run command "aws amplify delete-backend-environment (you will need appid and environment name) and after that try to delete the app by using console again.

Upvotes: 2

Related Questions