Skip to content

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

How To Contribute:

  1. Open an issue
  2. Fork code from master repo
  3. Open a merge request to the develop branch

How to build

  1. Check out the master branch
  2. Build binary: make tfswitch. This should produce a tfswitch binary
  3. Edit the code.
  4. Build binary: make tfswitch. This should override the previous tfswitch binary
  5. Test code: go test -v ./...
  6. Build again: go build -v -o tfswitch and test locally again
  7. Open a pull request to the develop branch
Clone this wiki locally