Create a gist now

Instantly share code, notes, and snippets.

Install everything required to recompile Terraform
cd $HOME
# download and extract
wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
tar xzf go1.7.4.linux-amd64.tar.gz
# environment variables required by go ffs
export GOROOT=$HOME/go
export GOPATH=$HOME/go/src
export PATH="$PATH:$GOROOT/bin:$GOROOT/src/bin"
# clone terraform
git clone https://github.com/hashicorp/terraform.git $GOPATH/github.com/hashicorp/terraform
# build it
cd $GOPATH/github.com/hashicorp/terraform
make dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment