I’m trying to define multiple Lambdas in one serverless.yml to be used in a Step Functions state machine.
To keep things organized each Lambda will reside in its own sub folder.
I cannot figure out what is the right Handler definition to use in the function call.
I tried using either a / or . after the directory name, but I keep getting a Module or function not found from Lambda.
I tried GetNextRecord/GetNextRecord.lambda_handler.
I also tried GetNextRecord.GetNextRecord.lambda_handler.
Look at the picture for the file tree.
Thanks
File paths and names are usually case sensitive so they should be getNextRecord/getNextRecord.lambda_handler