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.
Grab the latest release and place the terraform-gcebashtonsql
binary in your $PATH
.
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
Ensure terraform-gcebashtonsql
is in your $PATH
. You will need the following in ~/.terraformrc
:
providers {
gcebashtonsql = "terraform-gcebashtonsql"
}