0
0
llucycodes42
The code defines a resource named "ultradns_record" and sets the zone to "${var.ultradns_domain}". The code sets the name of the resource to "my-${myResourceName}" and sets the description to "my-description-${myResourceName}". The code defines a zone for the resource and sets the name to "terraform". The code defines a record for the resource and sets the rdata to [ "192.168.0.11" ]. The code sets the type of the resource to "A" and sets the ttl to 3600 seconds.
Shortcut: tf_ultradns_record
resource "ultradns_record" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
zone = "\${var.ultradns_domain}"
name = "terraform"
rdata = [ "192.168.0.11" ]
type = "A"
ttl = 3600
}