-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
feat: Add default Access Log Delivery Policy (same as ALB/NLB) to work since April 2023 #230
Conversation
examples/complete/main.tf
Outdated
attach_deny_insecure_transport_policy = true | ||
attach_require_latest_tls_policy = true | ||
|
||
# Advanced options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not call this "advanced" :)
## [3.10.0](v3.9.0...v3.10.0) (2023-04-27) ### Features * Add default Access Log Delivery Policy (same as ALB/NLB) to work since April 2023 ([#230](#230)) ([bafac30](bafac30))
This PR is included in version 3.10.0 🎉 |
@cageyv Thank you for this PR! |
## [3.10.0](terraform-aws-modules/terraform-aws-s3-bucket@v3.9.0...v3.10.0) (2023-04-27) ### Features * Add default Access Log Delivery Policy (same as ALB/NLB) to work since April 2023 ([terraform-aws-modules#230](terraform-aws-modules#230)) ([bafac30](terraform-aws-modules@bafac30))
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Create default Access Log Delivery Policy for migrate from grants according to latest aws s3 bucket update.
Motivation and Context
It will allow us to setup Bucket Policy for Access Log Delivery in the same way same as for ALB/NLB logs delivery. Policy was created by using that migration guide from AWS:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-ownership-migrating-acls-prerequisites.html#object-ownership-server-access-logs
It also support additional security conditions such as
aws:SourceArn
andaws:SourceAccount
which will helpful for someone who using cross-account log deliveryClose #229
Breaking Changes
How Has This Been Tested?
2023-04-27 12:57 UTC S3 Access Logs appears and policy is working
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request