3回答
- 新しい順
- 投票が多い順
- コメントが多い順
2
It looks like you're seeing the issue described in the documentation - have you tried the remediation steps there?
The error message you're getting tells me that the Lambda function is connecting to the database correctly at a networking level; but the database is denying access based on its configuration.
1
The no encryption part of the error message is worth looking into, is PostgreSQL configured to force SSL for connections? https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL.Concepts.General.SSL.html
If it is then the lambda code will need to enable SSL too.