-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Proposal: Add support Object-level logging in the existing trail for resource 'aws_s3_bucket' #9459
Comments
Good job! thx, it's may solve my problem. |
Hello, was this issue solved? We need to point to an existing Cloudtrail on new S3 buckets, is there any good and elegant way to do it in pure Terraform? Thank you. |
Same issue here. |
Facing exact same issue. Terraform tries to create as many cloud trails as number of S3 buckets, thus overall operation fails as it passes the AWS account hard-limit of 5 cloud trails per account. |
Same here ! |
Any solution expected in the coming release of 14 ? |
Im facing a similar issue, I would like to create a new |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
Hi! I know only one approach for enabling Object-level logging on S3 bucket via terraform - create new
aws_cloudtrail
and setupdata_source
, but in some moment it's unusable(because we have only 5 trails per region and this limit we can't increase)Maybe the best way for resolving it - add some flag for write Object-level logs to the existing trail?
New or Affected Resource(s)
Potential Terraform Configuration
We can add
object_level_logging
object supports the following fields:target_trail
- takes arn existing trailevents
- type of event, string value Read or WriteReferences
The text was updated successfully, but these errors were encountered: