Answers Jets Community Question: How to properly configure dead letter queue for a particular queue?
Deploy app:
jets deploy
Grab the generated SQS queue url from the SQS console. Can test with aws sqs send-message. Example:
QUEUE_URL=https://sqs.us-west-2.amazonaws.com/112233445566/demo-dev-HardJob-T634PZEAVH62-DeliverSqsQueue-47AEDK3P91CV
aws sqs send-message --queue-url $QUEUE_URL --message-body '{"test": "hello world"}'
Check the Lambda function demo-dev_hard-job_deliver
logs for the event payload.