Skip to content

gagan-bhullar-tech/trigger-step-function-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors