1 Answers
0
I figured it out. I was creating the session object outside the lambda handler which caused it to be cached. I moved session creation inside the handler and everything works now.
answered 2 years ago
Relevant questions
Serverless lambda rest api not updating database properly
Accepted Answerasked a month agoI have lots of tables that are stuck in the "Pending Records" Validation state and I can't get them to progress
asked a month agoWhy the LoginFailures metric showing no data for RDS MySQL instance?
asked 4 years agoInternal Server Error from API Gateway when sending queries through gateway to Lambda function connected to RDS database
asked 4 months agoWhy can't I find my RDS database from my lambda function?
asked 5 months agoHandler error when connecting lambda function to RDS database
asked 5 months agoDatabase in Amazon Glue
asked 3 months agoError establishing a database connection with RDS and OpenLiteSpeed AIMs
asked 6 months agoLambda queries do not reflect the database state
asked 2 years agoHow to retrieve DATETIME fields from RDS database on S3 site via API Gateway and Lambda function
asked 4 months ago