Hi!!
In the “Lab 2” of this IAM course I can’t create the rigth policy.
The error:
Failed to save changes to policy . User: arn:aws:iam::983375543249:user/kk_labs_user_418234 is not authorized to perform: iam:CreatePolicyVersion on resource: policy arn:aws:iam::983375543249:policy/financial-data-access-policy because no identity-based policy allows the iam:CreatePolicyVersion action
The policy that I can’t create is:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::financial-data-3oqag"
}
]
}
Thanks