Creating EC2 backup and getting "Access denied: Insufficient privileges..." error

0

Dear all, Can anyone please help this error? Thanks in advance!

**Status: ** A user with PowerUserAccess is trying to create a backup plan for EC2 using a custom role( which has the following permission policies: AWSBackupServiceRolePolicyForBackup & AWSBackupServiceRolePolicyForRestores)

**Error message: ** Access denied: Insufficient to perform this action. Please consult with the account administrator for necessary permissions.

Joseph
asked 3 months ago254 views
1 Answer
0

Hello.

"PowerUserAccess" does not have permission to attach IAM roles, so service roles cannot be set when allocating resources with AWS Backup.
So, please set the following IAM policy for the IAM user and then try setting up AWS Backup.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "iam:PassRole"
            ],
            "Resource": [
                "*"
            ],
            "Effect": "Allow"
        }
    ]
}
profile picture
EXPERT
answered 3 months ago
profile pictureAWS
EXPERT
reviewed 3 months 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