Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Lambda-multiple suffix -error creating the event source mapping: Configuration is ambiguously defined

Tags:

aws-lambda

Im trying to create event is multiple Suffix (.json/.avro) There was an error creating the event source mapping: Configuration is ambiguously defined. Cannot have overlapping suffixes in two rules if the prefixes are overlapping for the same event type.

How can i do it?

like image 820
Roni Tzadok-Kochav Avatar asked Oct 20 '25 15:10

Roni Tzadok-Kochav


1 Answers

Unfortunately, Amazon currently does not allow multiple overlapping triggers to start a Lambda. The only work around available is to create a single trigger which publishes to an SNS topic, and then have that SNS topic "fan out" to a number of destinations.

enter image description here

like image 177
Frederik Avatar answered Oct 23 '25 15:10

Frederik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!