github.com/jrasell/terraform@v0.6.17-0.20160523115548-2652f5232949/website/source/docs/providers/powerdns/r/record.html.markdown (about) 1 --- 2 layout: "powerdns" 3 page_title: "PowerDNS: powerdns_record" 4 sidebar_current: "docs-powerdns-resource-record" 5 description: |- 6 Provides a PowerDNS record resource. 7 --- 8 9 # powerdns\_record 10 11 Provides a PowerDNS record resource. 12 13 ## Example Usage 14 15 ``` 16 # Add a record to the zone 17 resource "powerdns_record" "foobar" { 18 zone = "example.com" 19 name = "www.example.com" 20 type = "A" 21 ttl = 300 22 records = ["192.168.0.11"] 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `zone` - (Required) The name of zone to contain this record. 31 * `name` - (Required) The name of the record. 32 * `type` - (Required) The record type. 33 * `ttl` - (Required) The TTL of the record. 34 * `records` - (Required) A string list of records. 35