aws-samples / aws-samples/amazon-cloudfront-continuousdeployment-cicd
Missing S3 bucket for `cloudfront-continuous-deployment-bucket-accesslogging`
- Dominant language
- No language data
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Hi Jason,
Thanks for clearing the previous issue with steps quickly. Btw, there are 2 connected issues that I'm encountering regarding the `staging_cloudfront_distribution` Cloudformation template:
1. S3 Bucket `cloudfront-continuous-deployment-bucket-accesslogging.s3.amazonaws.com` does not exist and is not inside the `pipeline.yml`, and it wasn't mentioned in the documentation if manual creation is needed as well.
2. When I try creating the S3 bucket manually, commit the file to trigger the Pipeline, I encounter another error as described below:
`Resource handler returned message: "Access denied for operation 'AWS::CloudFront::Distribution: You don't have permission to access the S3 bucket for CloudFront logs: cloudfront-continuous-deployment-bucket-accesslogging.s3.amazonaws.com If you're using IAM, you need s3:GetBucketAcl and s3:PutBucketAcl permissions to create a distribution or to update log settings for an existing distribution. In addition, the S3 ACL for the bucket must grant you FULL_CONTROL. `
Contributor guide
Assessment
This issue has not been assessed yet.