-
Notifications
You must be signed in to change notification settings - Fork 135
How to contribute
Warren Veerasingam edited this page Nov 23, 2021
·
3 revisions
Terraform Switcher
The tfswitch command line tool lets you switch between different versions of terraform. If you do not have a particular version of terraform installed, tfswitch will download the version you desire. The installation is minimal and easy. Once installed, simply select the version you require from the dropdown and start using terraform.
See installation guide here: tfswitch installtion
- Open an issue
- Fork code from master repo
- Open a merge request to the develop branch
- Check out the master branch
- Build binary:
make tfswitch
. This should produce atfswitch
binary - Edit the code.
- Build binary:
make tfswitch
. This should override the previoustfswitch
binary - Test code:
go test -v ./...
- Build again:
go build -v -o tfswitch
and test locally again - Open a pull request to the develop branch