While creating a deployment group on code deploy, I am getting an error. Please help us to resolve the issue,
User: arn:aws:iam::585008062605:user/kk_labs_user_555018 is not authorized to perform: iam:PassRole on resource: arn:aws:iam::585008062605:role/codedeploy-ec2-role because no identity-based policy allows the iam:PassRole action
This may be tricky to do in playground, since there are a lot of dependencies in this sort of pipeline, But if you have access to the playgrounds, you should also have access to this lab. You may want to compare what they do in the lab (and the course) with what you want to do; this should show you path our playgrounds support.