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
- Host: GitHub
- URL: https://github.com/goodwaygroup/redshift-port-forward-action
- Owner: GoodwayGroup
- Created: 2024-07-10T18:38:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T20:54:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-03T02:55:26.409Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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