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?

demandé il y a 2 ans217 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions