From b7ffdffcaa247a79b022f586d50ec21dbb9fa1a4 Mon Sep 17 00:00:00 2001 From: Riley Karson Date: Thu, 7 Feb 2019 11:21:54 -0800 Subject: [PATCH] Add an additional caveat to local provider guide (#3013) /cc @yorinasub17 --- .github/CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5bad93a9..b72f2dcd 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -76,7 +76,7 @@ local `terraform-provider-google` and `terraform-provider-google-beta` plugins i In order to use a release copy of Terrafom with a local provider, you can use the [provider discovery directory](https://www.terraform.io/docs/extend/how-terraform-works.html#discovery) at `~/.terraform.d/plugins`. When a copy of the Google provider is present in the discovery directory, `terraform init` will -use that copy instead of downloading a release version. +use that copy instead of downloading a release version. If you've already used a release version of a provider in a given directory by running `terraform init`, Terraform will not use the locally built copy; remove the release version from the `./.terraform/` to start using your locally build copy. To use a single locally built version, such as one built by a CI or build server, you can copy a `google` or `google-beta` binary into the discovery directory. If you're testing a local provider in active development and want the new binary each