Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.91 KB

File metadata and controls

75 lines (55 loc) · 1.91 KB
page_title subcategory description
anxcloud_dns_zone Resource - terraform-provider-anxcloud
This resource allows you to create DNS zones.

anxcloud_dns_zone (Resource)

This resource allows you to create DNS zones.

Example Usage

resource "anxcloud_dns_zone" "example" {
  name         = "example.com"
  admin_email  = "admin@example.com"
  dns_sec_mode = "unvalidated"
  is_master    = true
  refresh      = 14400
  retry        = 3600
  expire       = 604800
  ttl          = 3600
}

Schema

Required

  • admin_email (String) Admin email address.
  • dns_sec_mode (String) DNSSec mode value for master zones. [managed or unvalidated]
  • expire (Number) Expiration value.
  • is_master (Boolean) Indicator if the zone is a master zone.
  • name (String) Zone name.
  • refresh (Number) Refresh value.
  • retry (Number) Retry value.
  • ttl (Number) TTL value.

Optional

  • dns_servers (Block List) Configured DNS servers. (see below for nested schema)
  • master_nameserver (String) Master nameserver.
  • notify_allowed_ips (List of String) IP addresses allowed to initiate domain transfer.
  • timeouts (Block, Optional) (see below for nested schema)

Read-Only

  • deployment_level (Number) Current deployment progress in percent.
  • id (String) The ID of this resource.
  • is_editable (Boolean) Indicator if zone is editable.
  • validation_level (Number) Current validation level in percent.

Nested Schema for dns_servers

Required:

  • alias (String) DNS server alias.
  • server (String) DNS server name.

Nested Schema for timeouts

Optional:

  • create (String)
  • delete (String)
  • read (String)
  • update (String)