Skip to content

Trigger AWS Step Functions

Actions
Trigger AWS Step Functions
v1.0
Latest
Star (1)

Tags

 (1)

Trigger AWS Step Function action

A GitHub Workflow Action for triggering AWS step function

Usage

- 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 }}

Configuration

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

AWS IAM Policy

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.

About

Trigger AWS Step Functions
v1.0
Latest

Tags

 (1)

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.