AWS lambda VPC cannot reach internet with IG attached

Multi tool use


AWS lambda VPC cannot reach internet with IG attached
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 15seconds timeout, it's always throwing TO.
Could you please help me?
I've already follow these sites:
- https://gist.github.com/reggi/dc5f2620b7b4f515e68e46255ac042a7
- http://derpturkey.com/lambda-vpc-and-internet-access-configuration/
Everything seems to be well configured.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.