github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/website/source/docs/providers/powerdns/index.html.markdown (about) 1 --- 2 layout: "powerdns" 3 page_title: "Provider: PowerDNS" 4 sidebar_current: "docs-powerdns-index" 5 description: |- 6 The PowerDNS provider is used manipulate DNS records supported by PowerDNS server. The provider needs to be configured with the proper credentials before it can be used. 7 --- 8 9 # PowerDNS Provider 10 11 The PowerDNS provider is used manipulate DNS records supported by PowerDNS server. The provider needs to be configured 12 with the proper credentials before it can be used. 13 14 Use the navigation to the left to read about the available resources. 15 16 ## Example Usage 17 18 ``` 19 # Configure the PowerDNS provider 20 provider "powerdns" { 21 api_key = "${var.pdns_api_key}" 22 server_url = "${var.pdns_server_url}" 23 } 24 25 # Create a record 26 resource "powerdns_record" "www" { 27 ... 28 } 29 ``` 30 31 ## Argument Reference 32 33 The following arguments are supported: 34 35 * `api_key` - (Required) The PowerDNS API key. This can also be specified with `PDNS_API_KEY` environment variable. 36 * `server_url` - (Required) The address of PowerDNS server. This can also be specified with `PDNS_SERVER_URL` environment variable.