Lambda doesn't insert RDS MySQL when called from Step Function

0

I have a Lambda function that inserts to an RDS MySQL database. It works fine when I test the Lambda function, and I can see the database immediately has the new inserted information.

But when I run my Step Function, which calls this same Lambda function, the new information is never added to the database. There are no errors in the Step Function and the input/output to the Lambda is as expected, and appears to have run smoothly and inserted to the database. But I don't ever see the new database rows. Any thoughts on what I might be missing here?

1 Answer
1

Check if there are any differences in configuration or environment variables between how the Lambda is invoked directly and how it is called via Step Functions. Also, consider whether there are timeouts that may be causing the function to terminate prematurely when invoked from Step Functions.

profile picture
EXPERT
answered 12 days ago
profile picture
EXPERT
Artem
reviewed 11 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions