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\
EDITED: It's now possible to change the lambda settings to disable retries (see announcement)
Original answer:
There isn't a way to disable retry behavior of Lambda functions. I suggest two options to deal with that: