Getting user not authorized to perform iam:role on resouce is coming for codebuild , codedeploy and Code Pipeline
Please include a link to the lab you’re looking at here, and I’ll be able to check it.
thank you Rob for your response.
Iam getting permission issues for below labs
https://learn.kodekloud.com/user/courses/aws-certified-developer-associate/module/184641b0-93ba-48d1-a9d7-1bc2b57db724/lesson/7c84d14b-5663-4119-8e18-091b8bb714a8
https://learn.kodekloud.com/user/courses/aws-certified-developer-associate/module/184641b0-93ba-48d1-a9d7-1bc2b57db724/lesson/4361cc34-f8ad-4ee3-9600-104271e58021
https://learn.kodekloud.com/user/courses/aws-certified-developer-associate/module/184641b0-93ba-48d1-a9d7-1bc2b57db724/lesson/4702836d-153e-4156-b145-5ba90df6e18f
I can’t do that many labs, so let’s concentrate on the first lab. On creating the pipeline, I got the error:
Could not update the service role policy. The following message contains details on the exception: User: arn:aws:iam::905418162863:user/kk_labs_user_995272 is not authorized to perform: iam:CreatePolicyVersion on resource: policy start-pipeline-execution-us-east-1-simple-app-pipeline because no identity-based policy allows the iam:CreatePolicyVersion action
I assume this is what you’re talking about. I’ll log that as an issue, and note that the other labs also saw that. It helps, BTW, to include the step in the lab where the fail occurs, since it takes quite a while to work through each lab.
Yes, Rob. Getting the same issue with all the three labs. Please inform me once the issue got resolved