README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
`~* chtf *~` chtf is a simple shell script that manages terraform versions. i made it because the existing solutions were way too big for what i thought was a simple problem. ??? deps+install ??? to install chtf, just put it anywhere in your $PATH. i put it in ~/bin personally. you'll need to install these deps: - curl - unzip you'll also need ~/bin in your $PATH near the beginning somewhere, since chtf relies on symlinking ~/bin/terraform to the proper version. most distros will have everything you need out of the box. !!! demo !!! here's a full demo of chtf's capabilities: # list versions (* represents active) $ chtf 0.11.1 0.12.1* # switch to a different installed version $ chtf 0.11.1 $ chtf 0.11.1* 0.12.1 $ terraform version Terraform v0.11.1 # download a new version and make it active $ chtf 1.2.5 terraform version not found downloading https://releases.hashicorp.com/terraform/1.2.5/terraform_1.2.5_linux_amd64.zip $ terraform version Terraform v1.2.5 on linux_amd64 |