Awesome Open Source
Awesome Open Source

homebrew-terraforms - Homebrew Casks for all Terraform versions

This repository includes Homebrew Casks to install multiple (or even all!) Terraform versions at the same time. It also includes Homebrew Formula for chtf, a Terraform version switcher.

NOTE: The chtf tool has been extracted to its own repository: https://awesomeopensource.com/project/Yleisradio/chtf. It can still be installed via this Tap and used as before. But now it also supports systems without Homebrew, also for auto-install.

Usage

Tap this repository:

brew tap yleisradio/terraforms

Install the chtf helper:

brew install chtf

For bash and zsh add the following to the ~/.bashrc or ~/.zshrc file:

if [[ -f /usr/local/share/chtf/chtf.sh ]]; then
    source /usr/local/share/chtf/chtf.sh
fi

The fish version is autoloaded so there is nothing more to do!

Then select the wanted Terraform version to use with chtf.

chtf 0.14.8

You can also just install a specific Terraform version (but you'll need to use chtf or adjust PATH yourself to use it):

brew install --cask terraform-0.6.9

Contibuting

Bug reports, pull requests, and other contributions are welcome on GitHub at https://awesomeopensource.com/project/Yleisradio/homebrew-terraforms.

This project is intended to be a safe, welcoming space for collaboration. By participating in this project you agree to abide by the terms of Contributor Code of Conduct.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Ruby (311,825
Terraform (4,777
Homebrew (1,371
Tap (313
Related Projects