nclouds_tf_lambda_sqs_consumer

This example deploys an SQS FIFO queue with dead letter queue configuration and a lambda function that processes the messages that get sent to the queue. An S3 bucket gets created to store the lambda function’s source code as a zip file. Other necessary resources like IAM roles and CloudWatch log groups are also created by terraform.

Architecture Diagram

ref_arch

Notes

  • If you push broken code in the zip file you can see messages be sent to the DeadLetterQueue

Modules used