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

W3045 Consider using AWS::S3::BucketPolicy instead of AccessControl #2931

Closed
dengmingtong opened this issue Oct 27, 2023 · 1 comment
Closed

Comments

@dengmingtong
Copy link

CloudFormation Lint Version

0.83.0

What operating system are you using?

ubuntu, mac

Describe the bug

Due to issue #2914 has been closed, so I submit another issue here.

there is still issue, but error is different as below:


cfn-lint 0.83.0
W3045 Consider using AWS::S3::BucketPolicy instead of AccessControl
Warning: templates/default/cloudfront-s3-control-plane-stack-cn.template.json:77:9

You can see full error log from PR in our repo.

https://github.com/awslabs/clickstream-analytics-on-aws/actions/runs/6668778118/job/18125577750?pr=374

Could you help to check it?

Thank you very much.

Expected behavior

No error throw

Reproduction template

Please check actions result as below:
https://github.com/awslabs/clickstream-analytics-on-aws/actions/runs/6668778118/job/18125577750?pr=374

@kddejong
Copy link
Contributor

This won't be fixed. This is the result of using "AccessControl": "LogDeliveryWrite". See the note about this being a legacy property. The S3 service team would prefer you to use a bucket policy.

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

2 participants