dnsimple_record
Provides a DNSimple record resource.
Example Usage
# Add a record to the root domain
resource "dnsimple_record" "foobar" {
domain = "${var.dnsimple_domain}"
name = ""
value = "192.168.0.11"
type = "A"
ttl = 3600
}
# Add a record to a sub-domain
resource "dnsimple_record" "foobar" {
domain = "${var.dnsimple_domain}"
name = "terraform"
value = "192.168.0.11"
type = "A"
ttl = 3600
}
Argument Reference
The following arguments are supported:
domain
- (Required) The domain to add the record toname
- (Required) The name of the recordvalue
- (Required) The value of the recordtype
- (Required) The type of the recordttl
- (Optional) The TTL of the record
Attributes Reference
The following attributes are exported:
id
- The record IDname
- The name of the recordvalue
- The value of the recordtype
- The type of the recordttl
- The TTL of the recordpriority
- The priority of the recorddomain_id
- The domain ID of the recordhostname
- The FQDN of the record
See the source of this document at Terraform.io