An open API service indexing awesome lists of open source software.

https://github.com/goodwaygroup/redshift-port-forward-action

github composite action to set up a redshift port-forward
https://github.com/goodwaygroup/redshift-port-forward-action

Last synced: 2 months ago
JSON representation

github composite action to set up a redshift port-forward

Awesome Lists containing this project

README

          

### This Action uses a combination of [configure-aws-credentials](https://github.com/aws-actions/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