I'm trying to deploy a static website on s3 bucket through bitbucket pipelines but getting Access Denied error on PutObject operation.
The bucket doesn't have public access, it serves through CloudFront distributions.
"AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity <ID>"
name: QA - Install, test and build
- yarn test
- yarn build:dev
name: QA - Deploy on S3
- pipe: atlassian/aws-s3-deploy:0.3.7
Pipeline's build status:
I find and tried all the possible solutions but not able to catch the actual issue here because everything looks good, as expected... ☹️
Thanks for the update @Alexander Zhukov and I just found the issue and it requires a minor change, just needs to update the ACL value in the bitbucket-pipelines.yml as:
and earlier, I was using
(check in the question above)
All the valid values are:
private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control | private
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events