1 個回答
- 最新
- 最多得票
- 最多評論
0
Consistent timeouts when trying to call a public API are usually caused by network misconfiguration which prevents the function from being able to reach the internet. In the case of Lambda functions in a VPC, in order to reach the internet they must be configured in a private subnet with a route through a NAT Gateway. See this article for more info on how this should be configured. Alternatively you can add the appropriate VPC endpoints to allow you function to be able to connect with the required APIs privately.
已回答 1 年前
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前