AWS codepipeline - giving DOWNLOAD_SOURCE, Code: CLIENT_ERROR, Message: AccessDenied
Bump into this error while trying to build my app. This is due to permission issue in S3 and often KMS too as they are use hand-in-hand to make the build successful. If you're using a custom location for s3, you will often bump into this error.
So to resolve this you need to grant the proper permission for S3 and KMS key (as you will be using a different key for yours s3 bucket when placing the artifact.
So there's 2 role to grant
- Code Build role
- Code Pipeline role.
Once you have granted this, then you'll be good to go.
Reference
https://github.com/awslabs/aws-refarch-cross-account-pipeline/issues/5
Comments