I am getting a response when I am requesting to below URL using Axios from locally. Even it's working as expected in Postman request.
But when I am trying the same code base from lambda, I am getting a timeout error (after 60 seconds). I haven't done any particular configuration with lambda like lambda is not attached with any VPC.
let config = {
method: 'GET',
url: 'https://media.gucci.com/style/DarkGray_Center_0_0_490x490/1576869304/406994_BLM00_1000_001_100_0000_Light-Gucci-Jordaan-leather-loafer.jpg',
headers: {
Host: "media.gucci.com",
}
};
const res = await axios.request(config)
console.log(res)