Trigger AWS Step Functions
ActionsTags
(1)A GitHub Workflow Action for triggering AWS step function
- name: Trigger Step Function
uses: gagan-bhullar-tech/trigger-step-function-action@v1
env:
STATE_MACHINE_ARN: ${{ secrets.STATE_MACHINE_ARN }}
AWS_REGION: "us-west-1"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Param | Required? | Description |
---|---|---|
STATE_MACHINE_ARN | yes | State machine ARN which user wants to trigger |
AWS_REGION | yes | AWS Region |
AWS_ACCESS_KEY_ID | yes | Access key with necessary permissions to invoke step functions |
AWS_SECRET_ACCESS_KEY | yes | Secret key |
In order to use this action, you will need to supply credentials which have, at minimum, the following permission:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "states:StartExecution",
"Resource": "arn:aws:states::<account id>:execution:<step function name>:<step function ID>"
}
]
}
Trigger AWS Step Functions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.