Ensure AWS Lambda function is configured for a DLQ

Error: AWS Lambda function is not configured for a DLQ

Bridgecrew Policy ID: BC_AWS_GENERAL_64
Checkov Check ID: CKV_AWS_116
Severity: LOW

AWS Lambda function is not configured for a DLQ

Description

TBA. Dead Letter Queue (DLQ).

Fix - Buildtime

Terraform

  • Resource: aws_lambda_function
  • Argument: dead_letter_config
resource "aws_lambda_function" "test_lambda" {
   ...   
+  dead_letter_config {
+     target_arn = "test"
+  }
}

Did this page help you?