AWSLambda Connection Timeout

Got a timeout error in aws lambda integration

Successfully sent in local testing environment, but got the timeout error when deployed in aws.

Already set the VPC to allow all outbound traffic.

is there any extra configuration to make it work?

Here is the log:
Sentry responded with an error: urlopen error timed out

Found the solution,
The problem is due to the VPC doesnt have a NAT gateway to the internet.

Here is the guide on adding a NAT gateway to VPC