Hacks for terraform.
google_compute_region_backend_service
's backend
does not accept a list of
backends, since it wants a backend { group = '.instance_group' }
. See the
examples for how to use this.
-
Download the latest compiled binary from GitHub releases.
-
Unzip/untar the archive.
-
Move it into
$HOME/.terraform.d/plugins
:$ mkdir -p $HOME/.terraform.d/plugins $ mv terraform-provider-customconfig $HOME/.terraform.d/plugins/terraform-provider-customconfig
-
Create your Terraform configurations as normal, and run
terraform init
:$ terraform init
This will find the plugin locally.
-
cd
into$HOME/.terraform.d/plugins/terraform-provider-customconfig
-
Run
dep ensure
to fetch the go vendor files -
Make your changes
-
Run
make dev
and in yourterraform
directory, remove the current.terraform
and re-runterraform init
-
Next time you run
terraform plan
it'll use your updated version