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?

feita há 2 anos222 visualizações
1 Resposta
1
Resposta aceita

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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas