add sns topic publishing of successful jobs
This commit is contained in:
parent
0e9c341741
commit
2b312547a0
1 changed files with 77 additions and 12 deletions
|
|
@ -1,5 +1,4 @@
|
|||
rBuilds:
|
||||
Comment: "R Builds"
|
||||
id: RBuildsStepFunction
|
||||
name: r-builds-${self:provider.stage}
|
||||
definition:
|
||||
|
|
@ -25,7 +24,11 @@ rBuilds:
|
|||
Next: Wait
|
||||
- Variable: "$.unfinishedJobCount"
|
||||
NumericEquals: 0
|
||||
Next: SuccessOrFail
|
||||
Next: Finished
|
||||
Finished:
|
||||
Type: Task
|
||||
Resource: arn:aws:lambda:#{AWS::Region}:#{AWS::AccountId}:function:${self:service}-${self:provider.stage}-finished
|
||||
Next: SuccessOrFail
|
||||
SuccessOrFail:
|
||||
Type: Choice
|
||||
Choices:
|
||||
|
|
|
|||
Loading…
Reference in a new issue