Provides a Dyn DNS record resource.
# Add a record to the domain
resource "dyn_record" "foobar" {
zone = "${var.dyn_zone}"
name = "terraform"
value = "192.168.0.11"
type = "A"
ttl = 3600
}
The following arguments are supported:
name - (Required) The name of the record. type - (Required) The type of the record. value - (Required) The value of the record. zone - (Required) The DNS zone to add the record to. ttl - (Optional) The TTL of the record. Default uses the zone default. The following attributes are exported:
Dyn records can be imported using a combination of the type, zone, fdqn, and optionally id.
$terraform import dyn_record.record {type}/{zone}/{fqdn}[/{id}]
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/dyn/r/record.html