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 Respuesta
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
EXPERTO
respondido hace un mes
profile picture
EXPERTO
Artem
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas