Install Terraform on Ubuntu

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to install Terraform CLI binary.


Prerequisites

  • snapd for Option 1


Using Snapd (Option 1)

As of the writing of this article they only have v0.11.11 available. For version 0.12.x use option 2.

snap install terraform


Download (Option 2)

  1. Download the binary
    1. https://www.terraform.io/downloads.html
  2. Unzip to /usr/local/bin/terraform
  3. unzip terraform_0.12.19_linux_amd64.zip -d /usr/local/bin
    


Sources