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?

posta 2 anni fa222 visualizzazioni
1 Risposta
1
Risposta accettata

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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande