Skip to content

Commit

Permalink
README.md: better usage instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowaker committed Dec 16, 2020
1 parent 345e93d commit cce798c
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,26 @@ Requirements
- [Terraform](https://www.terraform.io/downloads.html) 0.12.x
- [Go](https://golang.org/doc/install) 1.11 (to build the provider plugin)

Using the Provider
----------------------

```hcl
terraform {
required_providers {
powerdns = {
source = "pan-net/powerdns"
}
}
}
provider "powerdns" {
server_url = "https://host:port/" # or use PDNS_SERVER_URL variable
api_key = "secret" # or use PDNS_API_KEY variable
}
```

For detailed usage see [provider's documentation page](https://www.terraform.io/docs/providers/powerdns/index.html)

Building The Provider
---------------------

Expand All @@ -36,11 +56,6 @@ $ go build

This will compile and place the provider binary, `terraform-provider-powerdns`, in the current directory.

Using the provider
----------------------

For detailed usage see [provider's documentation page](https://www.terraform.io/docs/providers/powerdns/index.html)

Developing the Provider
---------------------------

Expand Down

0 comments on commit cce798c

Please sign in to comment.