I can't successfully connect to RDS from Amazon Lambda in production. For Amazon Lambda I'm using Serverless framework, executing sls offline I can connect with RDS from localhost, but in production Amazon Lambda doesn't.
Both are in same VPC, in same security group, that has all traffic inbound access, and a rule that is pointing to Vpc's CIDR.
I have these permissions attached: AmazonRDSFullAccess, AWSLambdaFullAccess, AmazonVPCFullAccess, AWSLambdaExecute and AWSLambdaVPCAccessExecutionRole.