Skip to content

Commit a862be7

Browse files
committed
Add other options to locate terraform provider binary
1 parent 24455a9 commit a862be7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

provider/CONTRIBUTE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ If your `terraform` binary is in the `$GOPATH/bin` folder on your machine, then
7070

7171
If not, the init operation will download the AzureRM Provider for you. You can just remove it, and replace it with your local copy. Do a `terraform init` again and you're done ! :-)
7272

73+
`terraform init` will look for the providers in the folder where the `.tf` files are located, so it is possible to just copy the provider from `$GOPATH/bin` to your current folder and it will be used instead of getting downloaded.
74+
75+
7376
## Debug the AzureRM provider using Visual Studio Code and Delve
7477

7578
It is possible to use Visual Studio Code and Delve (the Golang debugger) to debug the AzureRM provider.

0 commit comments

Comments
 (0)