Skip to content

gian2dchris/aws-ssm-port-forwarding-session-action

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

Repository files navigation

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/[email protected]
  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

About

SSM port forwarding sessions in github workflows

Resources

License

Stars

Watchers

Forks

Packages

No packages published