serverless-step-functions-offline
serverless-step-functions-offline copied to clipboard
Error with step functions running using webpack
Having functions as files result in error like this (Function "GetEvents" does not presented in serverless manifest)
functions:
- ${file(step-functions.yml)}
- ${file(functions.yml)}
Serverless version:
"serverless": "^1.35.1" "serverless-step-functions-offline": "^2.1.4",
I guess this repo is no longer maintained. I can suggest a workaround for this issue.
- Make a copy of your serverless.yml
- Run
serverless printin the console to resolve variables, paths, etc. Copy results. - Replace serverless.yml with the results from step 2.
- Run
sls step-functions-offline...
@KrolKamil do you know another repo that runs step functions locally ?
@AhmedWael93 Unfortunately not ;;__;;
@KrolKamil do you know another repo that runs step functions locally ?
Might be slightly late to the party on this one :laughing: But have been able to get this package working locally fairly well for https://github.com/ryanolee/pager-duty-sync/blob/master/serverless.yml ?
Though it uses a python runtime so had to fork the repo to get it working :(