Can I use psycopg2 for connect to RDS postgres in AWS Lambda? What permissions should I set for that?
2 Answers
You can use psycopg2 to in AWS Lambda, but you have to add the lib in the Lambda Zip or You can use Serverless Framework to do that.
You should attach RDS permissions to your Lambda.