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
已提問 3 個月前檢視次數 266 次
1 個回答
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
專家
已回答 3 個月前
profile pictureAWS
專家
已審閱 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南