Skip to content

Commit

Permalink
Merge pull request hashicorp#17 from stigok/custom
Browse files Browse the repository at this point in the history
Add instruction on terraform init
  • Loading branch information
sl1pm4t authored May 10, 2018
2 parents 076dde0 + 6d9e473 commit 637ff28
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,20 @@ provider "kubernetes" {
}
```

##### Initialise provider with plugin directory

After this fork has been downloaded and built into `$GOPATH` (as in the
previous step), specify the location of the built binaries when
initialising the project:

$ terraform init -plugin-dir=$GOPATH/bin

This step is important in order to make terraform actually use this fork
of the kubernetes provider. If you fail to do this upon the first init
the official provider is downloaded instead.
If this happens, delete the `.terraform/` folder that has been created
inside your project folder and perform the above init again.

**Deployment Resource**

```hcl-terraform
Expand Down

0 comments on commit 637ff28

Please sign in to comment.