I have a lambda function that is being concurrently executed more than once. And this function needs to visit an API that block all frequent visits. If there a way to avoid concurrent executions? Other methods to avoid authentication failures help.
1 Answer
Just set the concurrency limit on the function. You can set the limit as low as 1 so that only one instance of the function is ever running at any given time.