-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a DeadLetter Config to AWS lambda functions
Some AWS services invoke lambda asynchronously. In this case, the services invoking lambda only ensure the delivery of the event to the function. The runtime and timeout errors cannot be handled by the service. A deadletter config is added to the `e3.aws.troposphere.awslambda` attributes to handle event error in case of failure. It can be an SQS queue or SNS topic. These settings require to add the statement `sqs:SendMessage` or `sns:Publish` to the lambda policy according to the deadletter configuration. ref it/aws-costs#8 ref it/org/operation_support/iaas/projects#111
- Loading branch information
1 parent
2e4d227
commit 49e1da9
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters