Skip to content

Commit 9fe17df

Browse files
authored
updates readme to fix multifile state machines
1 parent a07672d commit 9fe17df

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,10 +1258,11 @@ serverless.yml:
12581258

12591259
```yml
12601260
stepFunctions:
1261-
hellostepfunc1:
1262-
${file(includes/state-machine-1.yml)}
1263-
hellostepfunc2:
1264-
${file(includes/state-machine-2.yml)}
1261+
stateMachines:
1262+
hellostepfunc1:
1263+
${file(includes/state-machine-1.yml)}
1264+
hellostepfunc2:
1265+
${file(includes/state-machine-2.yml)}
12651266
12661267
plugins:
12671268
- serverless-step-functions

0 commit comments

Comments
 (0)