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개 답변
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
전문가
답변함 한 달 전
profile picture
전문가
Artem
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠