I'm trying to do a HTTP PUT via node js in AWS lambda, but I keep getting time outs. According to this "A Lambda function with VPC access will not have internet access unless you add a NAT", but in my case I'm not using a VPC.
exports.handler = (event, context) => {
const options = {
host: 'xxx',
path: 'xxx',
port: 443,
method: 'PUT'
};
req = http.request(options, (res) => {
console.log(res);
});
};