github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/google/r/dns_managed_zone.markdown (about)

     1  ---
     2  layout: "google"
     3  page_title: "Google: google_dns_managed_zone"
     4  sidebar_current: "docs-google-resource-dns-managed-zone"
     5  description: |-
     6    Manages a zone within Google Cloud DNS.
     7  ---
     8  
     9  # google\_dns\_managed_zone
    10  
    11  Manages a zone within Google Cloud DNS.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "google_dns_managed_zone" "prod" {
    17      name = "prod-zone"
    18      dns_name = "prod.mydomain.com."
    19      description = "Production DNS zone"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `name` - (Required) A unique name for the resource, required by GCE.
    28      Changing this forces a new resource to be created.
    29  
    30  * `dns_name` - (Required) The DNS name of this zone, e.g. "terraform.io".
    31  
    32  * `description` - (Optional) A textual description field.
    33  
    34  ## Attributes Reference
    35  
    36  The following attributes are exported:
    37  
    38  * `name` - The name of the resource.
    39  * `dns_name` - The DNS name of this zone.
    40  * `name_servers` - The list of nameservers that will be authoritative for this
    41    domain.  Use NS records to redirect from your DNS provider to these names,
    42  thus making Google Cloud DNS authoritative for this zone.