Skip to content
Taylor Smith edited this page Aug 18, 2017 · 1 revision

Current Providers & Experimental Features:

  • Encrypted storage
  • Spot fleet tagging

Installation

Prerequisites

Clone & install custom providers

Localhost

mkdir -p ~/go/src/github.com/terraform-providers
export GOPATH=~/go
export PATH=$GOPATH/bin:$PATH

You MUST clone all providers

Azure

cd ~/go/src/github.com/terraform-providers
cd ~/go/src/github.com/terraform-providers/terraform-provider-azurerm
make fmt
make build

AWS

cd ~/go/src/github.com/terraform-providers/terraform-provider-azurerm
make fmt
make build 

Clone & install terraform dev build

mkdir ~/go/src/github.com/hashicorp/terraform
cd ~/go/src/github.com/hashicorp/terraform
git clone https://github.com/GraphStory/terraform
cd terraform
make fmt
make dev

Verify

tf version
Terraform v0.10.3-dev (baa91b507aac8bb3658713f4a6301cffdb8475d9+CHANGES)

If you have an existing terraform, or build

# If you installed using brew
which terraform
rm <result from which>

# Remove existing terraform (from go directory)
rm ~/go/bin/terraform
rm ~/go/bin/terraform-providers-azurerm
rm ~/go/bin/terraform-providers-aws

# Run this from root directory of project AFTER applying above changes
rm -rf .terraform
terraform init