Enable Amazon EventBridge notifications in S3
igor-pinchuk opened this issue · comments
Is your request related to a new offering from AWS?
It is supported by aws_s3_bucket_notification terraform resource (eventbridge = true/false).
Is your request related to a problem? Please describe.
When you create a new S3 bucket sometimes it is required to enable EventBridge notifications for S3.
In my case EventBridge triggers another AWS service that processes uploaded object, it can be done via CloudTrail, but it seems like enabling EventBridge directly is more convenient.
Describe the solution you'd like.
It would be great to have an input variable, e.g. eventbridge = true/false that could be used to enable EventBridge notifications for current s3 bucket.
Describe alternatives you've considered.
Alternatively we can use CloudTrail events, but it is much less convenient and seems more like legacy approach which was implemented by AWS before direct integration with EventBridge was released.
Additional context
Hi @igor-pinchuk !
Thanks for the proposal. You are welcome to open a PR if you have time.
This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I'm going to lock this issue because it has been closed for 30 days