Go to file
Riley Karson 8a237de2dd
Update gometalinter for modules, add staticcheck (#2908)
This isn't working locally, but it matches the changes made in https://github.com/terraform-providers/terraform-provider-azurerm/pull/2722 so maybe something freaky is going on and it will only work in CI?

Edit: This only works in CI (well, at least doesn't work locally for *me*) but the same is true in the Azure provider. Most of those rules can be turned back on provided we make the corresponding code changes, but let's bring back `unused` for now. I'll dupe over to tpgb on approval.
2019-02-05 11:47:40 -08:00
.github Update vendoring in CONTRIBUTING (#2945) 2019-01-28 11:15:38 -08:00
examples Deprecate assigned_nat_ip in compute_instance family (#2155) 2018-10-02 16:07:28 -07:00
google Add fields to InterconnectAttachment to allow for PARTNER interconnects (#2959) 2019-02-01 16:17:53 -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 fields to InterconnectAttachment to allow for PARTNER interconnects (#2959) 2019-02-01 16:17:53 -08:00
.gitignore Ignore google provider binary (#1935) 2018-08-23 11:52:14 -07:00
.gometalinter.json Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00
.travis.yml Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -08:00
CHANGELOG.md Update CHANGELOG.md 2019-02-01 16:18:56 -08:00
GNUmakefile Update gometalinter for modules, add staticcheck (#2908) 2019-02-05 11:47:40 -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!