cloudposse / cloudposse/terraform-aws-datadog-lambda-forwarder
Add DLQ for Lambda
- Dominant language
- HCL
- Stars
- 20
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the Feature
Add Dead Letter Queue configuration for lambda
### Expected Behavior
If i add DLQ for Lambda function, we have it configured. We can create SQL for DLQ of provide SQS ARN via dead_letter_config section. Any solution will suite.
### Use Case
To be able to pass SOC2/CIS compliance, we need to have DLQ for all lambdas. Even if we do not use it, better to have the ability to set it up or not, using some flag, like enable_dlq.
Currently, we have to find a workaround for that that does not look natural.
### Describe Ideal Solution
* add option enable_dlq = true/false
* add dead_letter_config section to setup configuration if enable_dlq = true
### Alternatives Considered
_No response_
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.