Invoke an AWS Step Functions workflow from AWS Lambda, with logging enabled
The Terraform template deploys a Lambda function, and a Step Functions workflow, a Log group and the IAM resources required to run the application. A Lambda function uses the AWS SDK to asyncronously invoke the Step Functionsworkflow, passing the event body. The Express Workflow results are logged in Amazon CloudWatch Logs. The Lambda function returns the response from the Step Functionsincluding the execution ARN and start date.