'Lambda trigger again after timeout even sqs visible timeout is same as lambda timeout

Lambda has triggered again even after the SQS visibility timeout is the same as lambda timeout around 8min.

Having SQS visibility timeout greater than lambda timeout, inflight messages in sqs were being picked up again in lambdas.

is there a workaround?

we dont have DLQ.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source