I know that when a Lambda function fails (for example when there is a time out), it tries to run the function 3 more times again. Is there any way to avoid this behavior? I\
If using python then need to put the code in try/catch block as well however there will be no callback. For example:
try: do_something() except Exception as e: print('Error: ' + str(e))
Since the error has been handled, Lambda will not retry.