Skip to content

BashtonLtd/terraform-gcebashtonsql

Repository files navigation

terraform-gcebashtonsql

This is based on the core Terraform Google provider. I've extracted the SQL Instance resource to make fixes and be used as a provider plugin.

Installation

Getting the executable

Binary download (amd64 only)

Grab the latest release and place the terraform-gcebashtonsql binary in your $PATH.

Build from source

You need golang 1.7 installed. You need a working $GOPATH, typically this is having a gocode folder in your $HOME directory with the following declared:

export GOPATH=$HOME/gocode
export PATH=$PATH:$GOPATH/bin

You should now be able to download, compile and place the resultant binary in your $PATH:

$ go get -v github.com/BashtonLtd/terraform-gcebashtonsql

Configuration

Ensure terraform-gcebashtonsql is in your $PATH. You will need the following in ~/.terraformrc:

providers {
  gcebashtonsql = "terraform-gcebashtonsql"
}