Skip to content

github composite action to set up a redshift port-forward

Notifications You must be signed in to change notification settings

GoodwayGroup/redshift-port-forward-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

This Action uses a combination of configure-aws-credentials and ssm session manager to open a port forward to redshift, and then close the ssm session at the end of the action

Add the following to your action:

permissions:
      id-token: write   # This is required for requesting the JWT
      contents: read

Example usage:

- name: AWS Port Forward
        uses: GoodwayGroup/redshift-port-forward-action@main
        with:
          aws-region: REGION
          role-to-assume: IAM_ROLE_TO_ASSUME
          role-session-name: SESSION_NAME
          jumpbox-id: BASTION_HOST_INSTANCE_ID
          redshift-host: YOURHOST.redshift.amazonaws.com
          redshift-port: REDSHIFT_PORT

Documentation on oidc via Amazon/Github:

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services

About

github composite action to set up a redshift port-forward

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published