I have an AWS lambda function that makes a request to the internet. When it makes the request with NO VPC, it's ok, but when I add it to the VPC, it stops working. I've attached an Internet Gateway to the VPC and created a NAT Gateway with RT to use outbound 0.0.0.0/0, but it stills not working. With the 15seconds timeout, it's always throwing TO.
Could you please help me?
I've already followed these sites:
- https://gist.github.com/reggi/dc5f2620b7b4f515e68e46255ac042a7
- http://derpturkey.com/lambda-vpc-and-internet-access-configuration/
Everything seems to be well configured.