Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the s3 bucket that you specified for cloudfront logs does not enable acl access #5

Closed
iamtutu opened this issue Jun 6, 2023 · 1 comment

Comments

@iamtutu
Copy link

iamtutu commented Jun 6, 2023

Due to changes in the way AWS now creates new S3 Buckets aws/aws-cdk#25358.

@iamtutu
Copy link
Author

iamtutu commented Jun 6, 2023

Updated the cloudformation.yaml based on the response from AWS aws/aws-cdk#25358

Updated the following section Line 236 - 247
AWSLOGSBUCKET:
Type: AWS::S3::Bucket
Properties:
BucketName: !Sub 'awslogs-${AWS::AccountId}'
PublicAccessBlockConfiguration:
BlockPublicAcls: True
BlockPublicPolicy: True
IgnorePublicAcls: True
RestrictPublicBuckets: True
OwnershipControls:
Rules:
- ObjectOwnership: ObjectWriter

@iamtutu iamtutu closed this as completed Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant