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 Antwort
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
EXPERTE
beantwortet vor einem Monat
profile picture
EXPERTE
Artem
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen