Brew Terraform
Terraform is a Porter - American style beer brewed by Zero Issue Brewing in Calgary, AB, Canada. Score: n/a with 9 ratings and reviews. The purpose of this tutorial is to create an EKS cluster with Terraform. Pre-requisite: MacOS; Get an AWS free trial account; Install Terraform v0.12.26; brew install terraform If you’re running Terraform 0.11, I would suggest to upgrade it to 0.12 ASAP. Install AWSCLI 2.0.17; brew install awscli Install AWS IAM Authenticator. To install Terraform, find the appropriate package for your system and download it as a zip archive. After downloading Terraform, unzip the package. Terraform runs as a single binary named terraform. Any other files in the package can be safely removed and Terraform will still function. $ terraform -version Manual installation for macOS, make a “terrform” directory under /Downloads find the appropriate package for your system and download it as a zip archive, unzip the package. Homebrew’s package index. Tool to build, change, and version infrastructure.
- 3Homebrew (Option 1)
- 5Verify Install
Purpose
This article gives a couple options on how to install or setup Terraform on a macOS Sierra system. The first optional way is to use HomeBrew. Which simplifies the install process and makes updating easy too.
Prerequisites
- Homebrew (IF going Homebrew way instead of downloading zip.)
Homebrew (Option 1)
The easiest and quickest way to install Terraform is using Homebrew.
Install Example
A symlink will be created for the binary /usr/local/bin/terraform -> ../Cellar/terraform/0.9.1/bin/terraform
Upgrading
Manually (Option 2)
The versions seem to be bottled up very quickly with HomeBrew so I see little reason why to do a manual install, but this is how you do it.
- Download binary zip from HashiCorp
- https://www.terraform.io/downloads.html
- Unzip
- Copy binary to a place in the path such as /usr/local/bin/terraform
Brew Terraform 12
Verify Install
A simple test that the binary is in the path and such is to call the version.