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
asked 2 years ago335 views
1 Answer
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
answered a year ago
profile picture
EXPERT
reviewed 18 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions