You cannot use the short version of the functions in the serverless-step-functions plugin, it's not supported at this time
This commit is contained in:
parent
50090081ec
commit
abda7849e1
1 changed files with 6 additions and 3 deletions
|
|
@ -6,7 +6,8 @@ rBuilds:
|
||||||
States:
|
States:
|
||||||
QueueBuilds:
|
QueueBuilds:
|
||||||
Type: Task
|
Type: Task
|
||||||
Resource: arn:aws:lambda:#{AWS::Region}:#{AWS::AccountId}:function:${self:service}-${self:provider.stage}-queueBuilds
|
Resource:
|
||||||
|
Fn::Sub: arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${self:service}-${self:provider.stage}-queueBuilds
|
||||||
Next: Wait
|
Next: Wait
|
||||||
Wait:
|
Wait:
|
||||||
Type: Wait
|
Type: Wait
|
||||||
|
|
@ -14,7 +15,8 @@ rBuilds:
|
||||||
Next: JobQueueStatus
|
Next: JobQueueStatus
|
||||||
JobQueueStatus:
|
JobQueueStatus:
|
||||||
Type: Task
|
Type: Task
|
||||||
Resource: arn:aws:lambda:#{AWS::Region}:#{AWS::AccountId}:function:${self:service}-${self:provider.stage}-jobQueueStatus
|
Resource:
|
||||||
|
Fn::Sub: arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${self:service}-${self:provider.stage}-jobQueueStatus
|
||||||
Next: QueueEmpty?
|
Next: QueueEmpty?
|
||||||
QueueEmpty?:
|
QueueEmpty?:
|
||||||
Type: Choice
|
Type: Choice
|
||||||
|
|
@ -27,7 +29,8 @@ rBuilds:
|
||||||
Next: Finished
|
Next: Finished
|
||||||
Finished:
|
Finished:
|
||||||
Type: Task
|
Type: Task
|
||||||
Resource: arn:aws:lambda:#{AWS::Region}:#{AWS::AccountId}:function:${self:service}-${self:provider.stage}-finished
|
Resource:
|
||||||
|
Fn::Sub: arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${self:service}-${self:provider.stage}-finished
|
||||||
Next: SuccessOrFail
|
Next: SuccessOrFail
|
||||||
SuccessOrFail:
|
SuccessOrFail:
|
||||||
Type: Choice
|
Type: Choice
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue