Unable to complete the deploy stage in AWS CodePipeline due to a permission error

Unable to complete the deploy stage in AWS CodePipeline due to a permission error

Questions : Unable to complete the deploy stage in AWS CodePipeline due to a permission error

505

Our application scripts are in GitHub which in4codes_aws-codepipeline contains a buildspec.yml specifying what the in4codes_aws-codepipeline artifacts are and how to build the in4codes_aws-codepipeline application source code. We then use Code in4codes_aws-codepipeline Pipeline to orchestrate the build and in4codes_aws-codepipeline deployment of the application upon any in4codes_aws-codepipeline commit on our master branch on GitHub. We in4codes_aws-codepipeline are hitting an error at the Deploy stage as in4codes_aws-codepipeline below:

Hitting on ‘Details’ link and we get this:

Now the role that we are using for this Code in4codes_aws-codepipeline Build and Pipeline is granted ‘Administrator in4codes_aws-codepipeline Access’ as a blanket role to ensure that in4codes_aws-codepipeline we’re not missing things. However, the in4codes_aws-codepipeline permission error puzzles me as to what else in4codes_aws-codepipeline is missing.

The only thing we can think of is that we in4codes_aws-codepipeline might have set up the deployment stage in4codes_aws-codepipeline wrong. See below:

Have anyone come across this or had any in4codes_aws-codepipeline suggestions?

Total Answers 1
32

Answers 1 : of Unable to complete the deploy stage in AWS CodePipeline due to a permission error

I had the same error, but in my case i in4codes_aws-codebuild had a Lambda in the deployment stage, in4codes_aws-codebuild after waiting 20 minutes for the error in4codes_aws-codebuild message i got the in4codes_aws-codebuild following: Codepipeline error message

I added all the permissions needed by in4codes_aws-codebuild the lambda function to interoperate with in4codes_aws-codebuild CodePipeline, and… notified from my in4codes_aws-codebuild lambda code to codepipeline the success in4codes_aws-codebuild or failure of the action. I guess you in4codes_aws-codebuild may need to do something similar from in4codes_aws-codebuild your ECS container. I hope it helps, in4codes_aws-codebuild because my deployment stage is in4codes_aws-codebuild different. Regards.

0