github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/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-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  ```hcl
    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  * `dns_name` - (Required) The DNS name of this zone, e.g. "terraform.io".
    28  
    29  * `name` - (Required) A unique name for the resource, required by GCE.
    30      Changing this forces a new resource to be created.
    31  
    32  - - -
    33  
    34  * `description` - (Optional) A textual description field. Defaults to 'Managed by Terraform'.
    35  
    36  * `project` - (Optional) The project in which the resource belongs. If it
    37      is not provided, the provider project is used.
    38  
    39  ## Attributes Reference
    40  
    41  In addition to the arguments listed above, the following computed attributes are
    42  exported:
    43  
    44  * `name_servers` - The list of nameservers that will be authoritative for this
    45      domain. Use NS records to redirect from your DNS provider to these names,
    46      thus making Google Cloud DNS authoritative for this zone.