Go to file
Paddy 21499000ed
Switch to using golangci-lint instead of go-metalinter (#3049)
* Switch to using golangci-lint instead of gometalinter.

* Update list of allowed ignored errors.

* Add GOFLAG=mod-vendor env var to travis.

* Fix env vars.
2019-02-14 16:52:09 -08:00
.github Update CONTRIBUTING to be more clear (#3032) 2019-02-12 13:42:17 -08:00
examples Deprecate assigned_nat_ip in compute_instance family (#2155) 2018-10-02 16:07:28 -07:00
google Generate Operations for Redis (#3027) 2019-02-14 16:01:12 -08:00
scripts Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00
vendor Add disable_dependent_services to google_project_service resource. (#2938) 2019-01-28 13:50:41 -08:00
version Add new version + linker flags. (#2438) 2018-12-20 17:22:22 -08:00
website Add Cloud Scheduler to the sidebar. (#3057) 2019-02-14 13:30:55 -08: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 Cleanup after v2.0.0 release 2019-02-12 19:31:43 +00:00
GNUmakefile Switch to using golangci-lint instead of go-metalinter (#3049) 2019-02-14 16:52:09 -08:00
go.mod Delete GCS objects in parallel (#2944) 2019-01-28 11:26:13 -08:00
go.sum Delete GCS objects in parallel (#2944) 2019-01-28 11:26:13 -08:00
LICENSE initial commit 2017-06-05 20:54:03 +00:00
main.go Initial transfer of provider code 2017-06-06 11:58:56 -04:00
README.md Update go versions used in development (#2934) 2019-02-01 07:58:37 -08:00
staticcheck.conf Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00

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!