Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Yleisradio/homebrew-terraforms
Homebrew repository for a Terraform version switcher and all Terraform versions
https://github.com/Yleisradio/homebrew-terraforms
casks chtf homebrew tap terraform terraform-versions
Last synced: 3 months ago
JSON representation
Homebrew repository for a Terraform version switcher and all Terraform versions
- Host: GitHub
- URL: https://github.com/Yleisradio/homebrew-terraforms
- Owner: Yleisradio
- License: mit
- Created: 2016-01-21T13:14:17.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T05:46:32.000Z (3 months ago)
- Last Synced: 2024-08-08T07:11:08.927Z (3 months ago)
- Topics: casks, chtf, homebrew, tap, terraform, terraform-versions
- Language: Ruby
- Homepage:
- Size: 476 KB
- Stars: 179
- Watchers: 14
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# homebrew-terraforms - Homebrew Casks for all Terraform versions
This repository includes [Homebrew](https://brew.sh/) 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://github.com/Yleisradio/chtf][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.
[chtf]: https://github.com/Yleisradio/chtf
## Usage
Tap this repository:
brew tap yleisradio/terraforms
Install the [`chtf`](https://github.com/Yleisradio/chtf) helper:
brew install chtf
For **bash** and **zsh** add the following to the `~/.bashrc` or `~/.zshrc` file:
```bash
if [[ -f "$(brew --prefix)/share/chtf/chtf.sh" ]]; then
source "$(brew --prefix)/share/chtf/chtf.sh"
fi
```The **fish** version is [autoloaded](https://fishshell.com/docs/current/tutorial.html#autoloading-functions) 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
## Contributing
Bug reports, pull requests, and other contributions are welcome on GitHub at https://github.com/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](CODE_OF_CONDUCT.md).