Level4-Question7 Building and Managing APIs with AWS API Gateway

In this i have to create Codepipeline but i get an error as i don’t have permissions to create due SCP deny policy. Tried with CLI as well… no luck.

<< User: arn:aws:iam::429163309141:user/kk_labs_user_360101 is not authorized to perform: codebuild:CreateProject on resource: arn:aws:codebuild:us-east-1:429163309141:project/xfusion-build-project with an explicit deny in a service control policy: arn:aws:organizations::487349550619:policy/o-0mgf8ua334/service_control_policy/p-zpor8mxe>>

Hi @Maddu

Please refer to the screenshots below and create the CodeBuild project using the configuration shown there. I’ll inform the team to update the task instructions properly.

Hi @raymond.baoly ,
After following the approach given by you i still get below error. Could you help me with.

Hi @Maddu

I’m not sure why you’re getting this error. My guess is that the CodeBuild project creation failed previously, and when you tried again, the IAM role had already been created, causing a conflict.

Could you please start the task again, retry the steps, and share the results with me? That will help us understand exactly where the failure is occurring.

Hi @Maddu

The task is updated, please try again.