Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.74 KB

README.md

File metadata and controls

61 lines (38 loc) · 1.74 KB

A Cloud Guru Sandbox

Command-line tool to manage A Cloud Guru sandboxes and configure credentials

Usage

The A Cloud Guru credentials are retrieved from git credentials store using git dredentials fill.

The A Cloud Guru sandbox is started or stopped according to the requested target, and the credentials are configured for use by the local command line tools and SDKs.

acloudguru-sandbox <current|stop|aws|azure|gcloud> [-rod=...]

How does it work

The code to get credentials from git originates from gitauth.

Rod is used to automate the required actions on A Cloud Guru website.

You can see the actual interaction through the browser using Rod confiduration parameters:

-rod=show,slow=1s,trace

Using with a proxy server

Add go-rod proxy parameters:

-rod=proxy=http://<host>:<port>

How to install

You can directly use the released binaries or use a package manager.

Windows with Scoop

Install Scoop:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression

Add nicerloop/nicerloop bucket:

scoop bucket add nicerloop https://github.com/nicerloop/scoop-nicerloop

Install acloudguru-sandbox:

scoop install nicerloop/acloudguru-sandbox

Similar works and inspiration

https://github.com/josephedward/gosandbox