Amplify does not clean up after app deletion

1

I've created and deleted Amplify apps several times. Regarding deletion, I noticed that Amplify does not clean up the resources it auto-creates. It left out Cognito user pools with names starting with 'amplify_backend_manager' and a few lambda functions. Is this normal behaviour, and is there a reason why it does that?

已提问 2 年前217 查看次数
1 回答
1
已接受的回答

Is this normal behaviour

Yes, it is normal.

is there a reason why it does that?

The reason for this is unclear, but we assume it is probably due to the split functionality between Amplify Hosting and Amplify Studio.

Cognito user pools beginning with amplify_backend_manager and Lambda functions with the following names are automatically created when Amplify Studio is activated. [1]

・amplify-login-create-auth-challenge-SHORT_CODE
・amplify-login-custom-message-SHORT_CODE
・amplify-login-define-auth-challenge-SHORT_CODE
・amplify-login-verify-auth-challenge-SHORT_CODE

[1] Basics - Manage team access - AWS Amplify Docs
https://docs.amplify.aws/console/adminui/access-management/

The above resources will be automatically removed by disabling Amplify Studio before removing the Amplify app.

Therefore, if you have been deleting the above resources yourself, we recommend that you disable Amplify Studio before deleting the Amplify application.

profile picture
mn87
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则