The default backup plan or backup file library automatic backup vault cannot be deleted

0

Using EFS service will automatically create the default backup plan and awsserviceroleforbackup role. The operation backup uses the service role awsserviceroleforbackup permission. The awsserviceroleforbackup role does not have delete permission and cannot be modified, resulting in the role and backup library dead cycle cannot be deleted, After reading the official document that you can't delete this service, you will have a role that can't be deleted. Isn't that reasonable? Is there any way to help the obsessive-compulsive patients delete it?

qqygqq
preguntada hace 2 años348 visualizaciones
1 Respuesta
0

You can update the backup vault policy for your EFS resource and remove the actions "backup:DeleteRecoveryPoint" and "backup:DeleteBackupVault", and try to delete the recovery points and vault again. Please see [1].

[1] Setting access policies on backup vaults - https://docs.aws.amazon.com/aws-backup/latest/devguide/creating-a-vault-access-policy.html

profile pictureAWS
respondido hace un año
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas