Last active
May 12, 2020 09:49
-
-
Save owfm/247caffff9e95989a3af3eacac7a64a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: step-functions | |
plugins: | |
- serverless-step-functions | |
- serverless-bundle | |
provider: | |
profile: medium | |
name: aws | |
runtime: nodejs12.x | |
region: eu-west-1 | |
functions: | |
proposePromotion: | |
handler: proposePromotion.call | |
stepFunctions: | |
stateMachines: | |
promotionFlow: | |
name: myCompanyPromotionFlowStateMachine-${opt:stage} | |
definition: | |
Comment: "Handles the manual approval of promotions." | |
StartAt: ProposePromotion | |
States: | |
ProposePromotion: | |
Type: Task | |
Resource: !GetAtt [proposePromotion, Arn] | |
ResultPath: "$.employeeDetails" | |
End: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment