github.com/bengesoff/terraform@v0.3.1-0.20141018223233-b25a53629922/website/source/docs/providers/dnsimple/r/record.html.markdown (about) 1 --- 2 layout: "dnsimple" 3 page_title: "DNSimple: dnsimple_record" 4 sidebar_current: "docs-dnsimple-resource-record" 5 --- 6 7 # dnsimple\_record 8 9 Provides a DNSimple record resource. 10 11 ## Example Usage 12 13 ``` 14 # Add a record to the domain 15 resource "dnsimple_record" "foobar" { 16 domain = "${var.dnsimple_domain}" 17 name = "terraform" 18 value = "192.168.0.11" 19 type = "A" 20 ttl = 3600 21 } 22 ``` 23 24 ## Argument Reference 25 26 The following arguments are supported: 27 28 * `domain` - (Required) The domain to add the record to 29 * `name` - (Required) The name of the record 30 * `value` - (Required) The value of the record 31 * `type` - (Required) The type of the record 32 * `ttl` - (Optional) The TTL of the record 33 34 ## Attributes Reference 35 36 The following attributes are exported: 37 38 * `id` - The record ID 39 * `name` - The name of the record 40 * `value` - The value of the record 41 * `type` - The type of the record 42 * `ttl` - The ttl of the record 43 * `priority` - The priority of the record 44 * `domain_id` - The domain ID of the record 45 * `hostname` - The FQDN of the record 46