AWS Lambda now detects and stops recursive loops in Lambda functions
News
This article announces AWS Lambda's new capability to automatically detect and stop recursive loops in Lambda functions.
- Lambda now stops recursive invocations after 16 calls between SQS, Lambda, and SNS
- Prevents unintended recursive loops caused by misconfiguration or code defects
- Failed invocations sent to Dead-Letter Queue or on-failure destination if configured
- AWS Health Dashboard notifications provided with troubleshooting steps
- Feature enabled by default across most AWS regions globally
- Can be disabled by contacting AWS Support if needed
This feature protects customers from unexpected costs and resource usage caused by recursive event loops.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.