github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/ns1/r/zone.html.markdown (about)

     1  ---
     2  layout: "ns1"
     3  page_title: "NS1: ns1_zone"
     4  sidebar_current: "docs-ns1-resource-zone"
     5  description: |-
     6    Provides a NS1 Zone resource.
     7  ---
     8  
     9  # ns1\_zone
    10  
    11  Provides a NS1 DNS Zone resource. This can be used to create, modify, and delete zones.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  # Create a new DNS zone
    17  resource "ns1_zone" "example" {
    18    zone = "terraform.example.io"
    19    ttl  = 600
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `zone` - (Required) The domain name of the zone.
    28  * `link` - (Optional) The target zone(domain name) to link to.
    29  * `ttl` - (Optional) The SOA TTL.
    30  * `refresh` - (Optional) The SOA Refresh.
    31  * `retry` - (Optional) The SOA Retry.
    32  * `expiry` - (Optional) The SOA Expiry.
    33  * `nx_ttl` - (Optional) The SOA NX TTL.
    34  * `primary` - (Optional) The primary zones' ip. This makes the zone a secondary.