This Serverless Framework plugin configures a DeadLetterConfig on AWS Lambda functions to send failed asynchronous invocations to an SQS queue or SNS topic. Currently at version 1.2.1 (last release 4 years ago), it uses UpdateFunctionConfiguration post-deploy since CloudFormation lacked support at the time. It can auto-create queue/topic with custom properties or reference existing ones. Note: no longer needed for Serverless v3+ which natively supports DeadLetterConfig, but still works for older versions.
npm install serverless-plugin-lambda-dead-letterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Lambda function with an auto-generated SQS dead letter queue using the serverless-plugin-lambda-dead-letter plugin.
Remove the plugin and use the native CloudFormation property DeadLetterConfig under function's event or function properties. See Serverless docs.
Always use the plugin for updates to ensure the DeadLetterConfig stays in sync, or migrate to native CloudFormation.
Ensure provider is set to aws in serverless.yml, or use a different solution for non-AWS environments.
Ensure the plugin is listed under 'plugins' in serverless.yml, and that the deadLetter property is correctly nested under the function.
Specify a unique queue name, or use the object syntax with queueName to provide a custom name.
Ensure the referenced resource (Ref or Fn::GetAtt) is defined in Resources and exported if needed, or use a string name for auto-creation.
No dependency data recorded yet.