mapbox / cloudfriend

Helper functions for assembling CloudFormation templates in JavaScript
ISC License
69 stars 9 forks source link

Add a dead letter queue to shortcuts.hookshot.* lambdas #87

Open hcourt opened 4 years ago

hcourt commented 4 years ago

The hookshot shortcuts Passthrough and Github create:

And expect you to provide a second lambda, that the webhook lambda passes events to.

The flow of events is then:

gateway -> webhookLambda -> myLambda

If webhookLambda fails to pass through an event, or if myLambda fails to handle an event, the event is dropped. It would be nice to provide a dead letter queue to store dropped events.