My lambda function is making an outbound HTTP request to an external API. I’m getting a
502 Bad Gateway error when I hit my lambda function via REST, and through some research (logs don’t elaborate) I’m thinking it’s probably that it doesn’t have internet access.
I’m just using the default aws-nodejs template, so I don’t have any kind of VPC or gateway settings enabled. Is there an easy way to grant internet access to my function?