github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/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 description: |- 6 Provides a DNSimple record resource. 7 --- 8 9 # dnsimple\_record 10 11 Provides a DNSimple record resource. 12 13 ## Example Usage 14 15 ``` 16 # Add a record to the domain 17 resource "dnsimple_record" "foobar" { 18 domain = "${var.dnsimple_domain}" 19 name = "terraform" 20 value = "192.168.0.11" 21 type = "A" 22 ttl = 3600 23 } 24 ``` 25 26 ## Argument Reference 27 28 The following arguments are supported: 29 30 * `domain` - (Required) The domain to add the record to 31 * `name` - (Required) The name of the record 32 * `value` - (Required) The value of the record 33 * `type` - (Required) The type of the record 34 * `ttl` - (Optional) The TTL of the record 35 36 ## Attributes Reference 37 38 The following attributes are exported: 39 40 * `id` - The record ID 41 * `name` - The name of the record 42 * `value` - The value of the record 43 * `type` - The type of the record 44 * `ttl` - The TTL of the record 45 * `priority` - The priority of the record 46 * `domain_id` - The domain ID of the record 47 * `hostname` - The FQDN of the record 48