github.com/adrian-bl/terraform@v0.7.0-rc2.0.20160705220747-de0a34fc3517/website/source/docs/providers/ultradns/r/record.html.markdown (about) 1 --- 2 layout: "ultradns" 3 page_title: "UltraDNS: ultradns_record" 4 sidebar_current: "docs-ultradns-resource-record" 5 description: |- 6 Provides a UltraDNS record resource. 7 --- 8 9 # ultradns\_record 10 11 Provides a UltraDNS record resource. 12 13 ## Example Usage 14 15 ``` 16 # Add a record to the domain 17 resource "ultradns_record" "foobar" { 18 zone = "${var.ultradns_domain}" 19 name = "terraform" 20 rdata = [ "192.168.0.11" ] 21 type = "A" 22 ttl = 3600 23 } 24 ``` 25 26 ## Argument Reference 27 28 See [related part of UltraDNS Docs](https://restapi.ultradns.com/v1/docs#post-rrset) for details about valid values. 29 30 The following arguments are supported: 31 32 * `zone` - (Required) The domain to add the record to 33 * `name` - (Required) The name of the record 34 * `rdata` - (Required) An array containing the values of the record 35 * `type` - (Required) The type of the record 36 * `ttl` - (Optional) The TTL of the record 37 38 ## Attributes Reference 39 40 The following attributes are exported: 41 42 * `id` - The record ID 43 * `name` - The name of the record 44 * `rdata` - An array containing the values of the record 45 * `type` - The type of the record 46 * `ttl` - The TTL of the record 47 * `zone` - The domain of the record 48 * `hostname` - The FQDN of the record