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
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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