Kk_labs_user_303094 is not authorized to perform: iam:CreatePolicyVersion


Failed to save changes to policy .

User arn:aws:iam::886264053901:user/kk_labs_user_303094 is not authorized to perform: iam:CreatePolicyVersion on resource: policy arn:aws:iam::886264053901:policy/iampolicy_mariyam because no identity-based policy allows the iam:CreatePolicyVersion action

was able to create policy, however while editing the same faced the above error. also getting error while deleting.

Unfortunately the “engineer.kodekloud.com” type URLs don’t identify the KKE labs very well. Could you please give us the full name of the lab – this will help us look this up and figure out what’s going on here.

Not sure why you had to delete the policy (guessing you needed to change something), but I used the following guide to doing this task, and it worked flawlessly – the policy was created, and grader passed it. It may be that we don’t permit deletion of IAM policies, and that was the error you got as a result.

Please try the lab again; I would guess it will work.

It worked on retry. Thanks.