Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Link512 authored Sep 24, 2020
1 parent 7386481 commit 2d34b95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,26 @@ it is recommended to go read how it works before using this provider.

### Installation


Build the provider and put it in Terraform's third-party providers directory in `~/.terraform.d/plugins`:

#### Terraform <0.12

```bash
go get github.com/FindHotel/terraform-provider-sql
mkdir -p ~/.terraform.d/plugins
go build -o ~/.terraform.d/plugins/terraform-provider-sql github.com/FindHotel/terraform-provider-sql
```

#### Terraform >0.13


```bash
go get github.com/FindHotel/terraform-provider-sql
mkdir -p ~/.terraform.d/plugins
go build -o ~/.terraform.d/plugins/<your-module-url-specified-in-tf-file>/<version-specified-in-tf-file>/linux_amd64/terraform-provider-sql github.com/FindHotel/terraform-provider-sql
```

I recommend using [Go modules](https://github.com/golang/go/wiki/Modules) to ensure
using the same version in development and production.

Expand Down

0 comments on commit 2d34b95

Please sign in to comment.