» ovh_domain_zone_record

Provides a OVH domain zone record.

» Example Usage

# Add a record to a sub-domain
resource "ovh_domain_zone_record" "test" {
    zone = "testdemo.ovh"
    subdomain = "test"
    fieldtype = "A"
    ttl = "3600"
    target = "0.0.0.0"
}

» Argument Reference

The following arguments are supported:

  • zone - (Required) The domain to add the record to
  • subdomain - (Required) The name of the record
  • target - (Required) The value of the record
  • fieldtype - (Required) The type of the record
  • ttl - (Optional) The TTL of the record

» Attributes Reference

The following attributes are exported:

  • id - The record ID
  • zone - The domain to add the record to
  • subDomain - The name of the record
  • target - The value of the record
  • fieldType - The type of the record
  • ttl - The TTL of the record