Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 855 Bytes

File metadata and controls

40 lines (25 loc) · 855 Bytes

Lambda Dead Letter

An AWS CLI tutorial that demonstrates Iam operations.

Running

bash lambda-dead-letter.sh

To auto-run with cleanup:

echo 'y' | bash lambda-dead-letter.sh

What it does

  1. Creating function that always fails
  2. Invoking async (will fail and go to DLQ)
  3. Checking DLQ (after retries, ~3 min)

Resources created

  • Function
  • Queue
  • Role

The script prompts you to clean up resources when it finishes.

Cost

Free tier eligible for most operations. Clean up resources after use to avoid charges.

Related docs