Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: better usage instructions #67

Merged
merged 2 commits into from
Dec 22, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Nowaker marked this conversation as resolved.
Show resolved Hide resolved
----------------------

```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