Skip to content

Instantly share code, notes, and snippets.

@dzimine
Created December 20, 2017 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dzimine/94f1a6dc1ba21b79ad09b24711a855b8 to your computer and use it in GitHub Desktop.
Save dzimine/94f1a6dc1ba21b79ad09b24711a855b8 to your computer and use it in GitHub Desktop.
# ./stepfunction.yml
#
# StepFunction workflow definition file.
# Included in `serverless.yml`, look there for variables definitions
Comment: "Community sign-up workflow"
StartAt: RecordDB
States:
RecordDB:
Type: Task
Resource: arn:aws:lambda:${self:custom.region}:${self:custom.private.accountId}:function:${self:service}-${self:custom.stage}-RecordDB
Next: RecordAC
ResultPath: $.results.RecordDB
RecordAC:
Type: Task
Resource: arn:aws:lambda:${self:custom.region}:${self:custom.private.accountId}:function:${self:service}-${self:custom.stage}-RecordAC
Next: InviteSlack
ResultPath: $.results.RecordAC
InviteSlack:
Type: Task
Resource: arn:aws:lambda:${self:custom.region}:${self:custom.private.accountId}:function:${self:service}-${self:custom.stage}-InviteSlack
ResultPath: $.results.InviteSlack
End: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment