
Explore the multiverse of Terraform with your terminal.
Install
git clone https://github.com/brownhash/kang
cd kang
make build
sudo mv bin/kang /usr/local/bin/kang
Or, if your system belongs to one of these architectures -
| os |
architecture |
| darwin |
amd64 |
| darwin |
arm64 |
| linux |
amd64 |
| linux |
arm |
| linux |
arm64 |
then,
git clone https://github.com/brownhash/kang
cd kang
sudo mv bin/kang_os_arch /usr/local/bin/kang_os_arch
and, if you want to run a specific version of Kang, then checkout to the respective tag and then use the above provided steps.
Usage
Fetch
Pre fetch a terraform version
kang fetch <terraform version>
Here,
<terraform version> can be like 1.0.0 / 0.14.7 / 0.15.5 etc ...
Example,
kang fetch 1.0.0
Run
Pre fetch a terraform version
kang run <terraform version> <terraform command> <terraform arguments>
Here,
-
<terraform version> can be like 1.0.0 / 0.14.7 / 0.15.5 etc ...
-
<terraform command> can be like init / plan / apply / other terraform accepted commands
-
<terraform arguments> can be like -var-file=terraform.tfvars / -out=plan.out / --auto-approve / other terraform accepted arguments
Example,
kang run 1.0.0 version