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 Resposta
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
ESPECIALISTA
respondido há um mês
profile picture
ESPECIALISTA
Artem
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas