gruntwork-io / go-commons

A standard library to use in all Gruntwork CLI tools
https://www.gruntwork.io/
MIT License
35 stars 26 forks source link

Add ssh module for running commands over ssh #39

Closed yorinasub17 closed 3 years ago

yorinasub17 commented 3 years ago

This ports over the ssh module from terratest so that we can use it in our CLI tooling to SSH to instances. An example use case is SSH-ing to a deployed jenkins instance in the Reference Architecture to retrieve the admin token for configuring Jenkins over the API.

Note that this implementation has several changes over the terratest version:

yorinasub17 commented 3 years ago

Example use case: https://github.com/gruntwork-io/terraform-aws-architecture-catalog/pull/155

yorinasub17 commented 3 years ago

UPDATE:

yorinasub17 commented 3 years ago

Thanks for review! Merging this in now!