Skip to content

Commit

Permalink
Use go get to download the module
Browse files Browse the repository at this point in the history
  • Loading branch information
RulerOf authored Apr 20, 2018
1 parent 4611344 commit ff79110
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,16 @@ resource "mongodbatlas_cluster" "test" {
Also look at the example under [/examples](/examples).

## Building the Provider
Clone repository to: `$GOPATH/src/github.com/akshaykarle/terraform-provider-mongodbatlas`
Clone and build the repository

```sh
$ mkdir -p $GOPATH/src/github.com/akshaykarle; cd $GOPATH/src/github.com/akshaykarle
$ git clone [email protected]:akshaykarle/terraform-provider-mongodbatlas
go get github.com/akshaykarle/terraform-provider-mongodbatlas
```

Enter the provider directory and build the provider
Symlink the binary to your terraform plugins directory:

```sh
$ cd $GOPATH/src/github.com/akshaykarle/terraform-provider-mongodbatlas
$ make build
ln -s $GOPATH/bin/terraform-provider-mongodbatlas ~/.terraform.d/plugins/
```

## NOTE
Expand Down

0 comments on commit ff79110

Please sign in to comment.