This Serverless Offline plugin starts a local AWS Step Functions emulator with stepfunctions-local. It is meant to be used with serverless-offline-stepfunctions-plugin, which creates state machines from serverless-step-functions definitions in serverless.yml
.
npm install serverless-offline-stepfunctions-local
OR
yarn add serverless-offline-stepfunctions-local
Enable this plugin by editing your serverless.yml
file and placing an serverless-offline-stepfunctions-local
entry in the plugins section, placed above the serverless-offline-stepfunctions-plugin
and serverless-offline
plugins.
serverless.yml:
plugins:
- serverless-step-functions
- serverless-offline-stepfunctions-local
- serverless-offline-stepfunctions-plugin
- serverless-offline