1 Answer
- Newest
- Most votes
- Most comments
0
From the error it looks like you are getting a timeout error trying to connect to PostgreSQL from Lambda.
Please set the inbound rule of the security group of the EC2 or RDS running PostgreSQL to allow connections from Lambda.
For example, it may be possible to solve this problem by using the security group set up in Lambda as the source and putting a setting to allow inbound PostgreSQL security groups.
Relevant content
- asked 6 months ago
- asked 5 months ago
- asked 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago