aws-lambda-ses-forwarder
aws-lambda-ses-forwarder copied to clipboard
Add instructions for alerting user if lambda script fails
The forwarder basically works but I don't know what happens if the lambda fails. It'd be great to get some alert.
You can add an SNS action while creating the Lambda function in the DLQ field of Advanced settings while creating and subscribe to that SNS topic. I guess that should help your case, instead of building it into the code, since the AWS Lambda can handle it and fire off a notification to you with the error?
Even though I am late, this is just for the reference of future users.