Jason Son
Jason Son

Reputation: 151

I got some AWS CodeBuild Error. I have no clue to solve it

danke schoen in advance

I'm newvie in AWS, especially I touched first AWS CodeBuild, CodeCommit... today.

and I got this Client Error in PROVISIONING phase

Unable to pull customer's container image. ErrorCode: 404 ~~~~

well, I guess I've set IAM Role properly, and of course I uploaded registry with my source(it's angular2 project)

I tried a lot of IAM role patterns (especially ec2 container service relevant roles...), and I tried building sources in AWS-based(recommaned) images and me-generated docker images(that's my goal)

but it failed all the way.

what do you think I did overlooked? what shoud I do?

Upvotes: 11

Views: 6395

Answers (1)

zyrahjane
zyrahjane

Reputation: 379

Make sure you include "codebuild.amazonaws.com" as a Principal in your ECR permissions.

https://docs.aws.amazon.com/codebuild/latest/userguide/sample-ecr.html

Upvotes: 22

Related Questions