Go to file
Paddy ba0e969f36
Update to latest 0.12 sdk. (#3656)
2019-05-20 10:29:42 -07:00
.github Update CONTRIBUTING.md (#3528) 2019-05-01 12:21:19 -07:00
examples Add an example versioned module to use google and google-beta. (#2709) 2019-02-20 14:33:10 -08:00
google Add GCP zone to client_config datasource (#3262) 2019-05-17 13:54:26 -07:00
scripts Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00
vendor Update to latest 0.12 sdk. (#3656) 2019-05-20 10:29:42 -07:00
version Add new version + linker flags. (#2438) 2018-12-20 17:22:22 -08:00
website Add GCP zone to client_config datasource (#3262) 2019-05-17 13:54:26 -07:00
.gitignore Ignore google provider binary (#1935) 2018-08-23 11:52:14 -07:00
.golangci.yml Switch to using golangci-lint instead of go-metalinter (#3049) 2019-02-14 16:52:09 -08:00
.travis.yml Switch to using golangci-lint instead of go-metalinter (#3049) 2019-02-14 16:52:09 -08:00
CHANGELOG.md Update CHANGELOG.md 2019-05-17 13:55:39 -07:00
GNUmakefile Switch to using golangci-lint instead of go-metalinter (#3049) 2019-02-14 16:52:09 -08:00
LICENSE initial commit 2017-06-05 20:54:03 +00:00
README.md Update go versions used in development (#2934) 2019-02-01 07:58:37 -08:00
go.mod Update to latest 0.12 sdk. (#3656) 2019-05-20 10:29:42 -07:00
go.sum Update to latest 0.12 sdk. (#3656) 2019-05-20 10:29:42 -07:00
main.go Initial transfer of provider code 2017-06-06 11:58:56 -04:00
staticcheck.conf Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00

README.md

Terraform Provider for Google Cloud Platform

Maintainers

This provider plugin is maintained by:

Requirements

Using the provider

See the Google Provider documentation to get started using the Google provider.

We recently introduced the google-beta provider. See Provider Versions for more details on how to use google-beta.

Upgrading the provider

The Google provider doesn't upgrade automatically once you've started using it. After a new release you can run

terraform init -upgrade

to upgrade to the latest stable version of the Google provider. See the Terraform website for more information on provider upgrades, and how to set version constraints on your provider.

Building the provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-google

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-google

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-google
$ make build

Developing the provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11.4+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-google
...

For guidance on common development practices such as testing changes or vendoring libraries, see the contribution guidelines. If you have other development questions we don't cover, please file an issue!