I have an existing VPC and want to create a NAT Gateway for my lamda function to access some internal resources in the VPC but also have access to an S3 bucket.
What is the correct way to modify the serverless.yaml - basically this https://github.com/ittus/aws-lambda-vpc-nat-examples/blob/master/serverless.yml, but adding it to an existing VPC.
Any advice is much appreciated.
Did you ever figure this out? I’m just looking for the easiest way to allow my function to be accessible from the internet and to make https requests, while being in a VPC.