layout | page_title | sidebar_current | description |
---|---|---|---|
ultradns |
UltraDNS: ultradns_record |
docs-ultradns-resource-record |
Provides an UltraDNS record resource. |
Provides an UltraDNS record resource.
# Add a record to the domain
resource "ultradns_record" "foobar" {
zone = "${var.ultradns_domain}"
name = "terraform"
rdata = ["192.168.0.11"]
type = "A"
ttl = 3600
}
See related part of UltraDNS Docs for details about valid values.
The following arguments are supported:
zone
- (Required) The domain to add the record toname
- (Required) The name of the recordrdata
- (Required) An array containing the values of the recordtype
- (Required) The type of the recordttl
- (Optional) The TTL of the record
The following attributes are exported:
id
- The record IDname
- The name of the recordrdata
- An array containing the values of the recordtype
- The type of the recordttl
- The TTL of the recordzone
- The domain of the recordhostname
- The FQDN of the record