Skip to content

Commit

Permalink
Add instruction on terraform init
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed May 10, 2018
1 parent 076dde0 commit 6d9e473
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 6d9e473

Please sign in to comment.