Skip to content

AWS SSM Port Forwarding Session

Actions
Start an SSM Port Forwarding Session in a github workflow
v1.0.0
Latest
Star (4)

Tags

 (1)

AWS SSM Port Forwarding Session Action

This action starts a local port forwarding session for your github workflow and terminates it upon cleanup.

See also aws-ssm-port-forwarding-session.

Usage

See action.yml

Local Port Forward Example

Forward instance's i-1234 port 8888, on local port 8888:

steps:
...
- name: SSM Port Forward
  uses: skroutz-internal/aws-ssm-port-forwarding-session-action@v1.0.0
  with:
    target-id: 'i-1234'
    portNumber: 8888
    localPortNumber:  8888
- name: Curl Test
  run: |
    curl -v http://127.0.0.1:8888

Limitations

As of current release the action only supports local port forwarding. Future releases may support remote or unix socket port forwarding SSM documents.

License

The scripts and documentation in this project are released under the MIT License

AWS SSM Port Forwarding Session 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

Start an SSM Port Forwarding Session in a github workflow
v1.0.0
Latest

Tags

 (1)

AWS SSM Port Forwarding Session 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.