You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin works only with [serverless-step-functions](https://github.com/horike37/serverless-step-functions).
@@ -55,54 +56,6 @@ You must have this plugin installed and correctly specified statemachine definit
55
56
56
57
Example of statemachine definition you can see [here](https://github.com/horike37/serverless-step-functions#setup).
57
58
58
-
# Usage
59
-
After all steps are done, need to add to section **custom** in serverless.yml the key **stepFunctionsOffline** with properties *stateName*: name of lambda function.
60
-
61
-
For example:
62
-
63
-
```yaml
64
-
service: ServerlessStepPlugin
65
-
frameworkVersion: ">=1.13.0 <2.0.0"
66
-
plugins:
67
-
- serverless-step-functions-offline
68
-
69
-
# ...
70
-
71
-
custom:
72
-
stepFunctionsOffline:
73
-
stepOne: firstLambda #(v2.0)
74
-
# ...
75
-
# ...
76
-
stepTwo: secondLambda #(v2.0)
77
-
78
-
functions:
79
-
firstLambda:
80
-
handler: firstLambda/index.handler
81
-
name: TheFirstLambda
82
-
secondLambda:
83
-
handler: secondLambda/index.handler
84
-
name: TheSecondLambda
85
-
stepFunctions:
86
-
stateMachines:
87
-
foo:
88
-
definition:
89
-
Comment: "An example of the Amazon States Language using wait states"
0 commit comments