volume_mute
What is the quickest and safest way to handle a situation where you deployed a recursive Lambda function by mistake?
publish date: 2024/08/30 02:16:52.137143 UTC
volume_muteCorrect Answer
Set the concurrent execution limit to zero while you fix the code
Explanation
Avoid a situation in which a function calls itself. Recursive code could lead to uncontrolled scaling of invocations that would make you lose control of your concurrency.
If you accidentally deploy recursive code, you can quickly set the concurrent execution limit to zero by using the console or command line to immediately throttle requests while you fix the code.
Reference
AWS Skill Builder