Closed justinTM closed 4 months ago
Correct me if I'm wrong, but the "allowed_triggers" parameter is for triggers that have already been created separately, and only creates policies. To create an s3-event trigger, you need the "aws_s3_bucket_notification" resource, which is not part of this module (I'm looking for that too)
Here is the module for notifications - https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/tree/master/modules/notification , and here is the example - https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/tree/master/examples/notification
@rkostyantyn is correct. The Lambda module only creates policies to allow external triggers.
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.