I am using aws codebuild, where my source is "codecommit" and trying to upload artifact to S3. But getting below exception.
UPLOAD_ARTIFACTS - CLIENT_ERROR: Error uploading artifacts: AccessDenied: Access Denied status code: 403, request id: D420E19EA87D4CD4, host id: i4ELejOSIy/9QeIATzgJNd8ZjpkCGu+dzkvQ/juHFSF2g6+2uEMgG+ljwYzcW51Oq60peeEQhmE=
Followed this article - https://docs.aws.amazon.com/codebuild/latest/userguide/getting-started.html
Can some one help?
I don't know if this is still active but apparently the problem isn't on s3 side and it's just a bad error.
The problem comes while codebuild trying to encrypt the artifacts and upload them to s3.
What solved my problem was to create a KMS key and in the encryption process you specify that key
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With