<commit_before>---
layout: "google"
page_title: "Google: google_dns_managed_zone"
sidebar_current: "docs-google-dns-managed-zone"
description: |-
  Manages a zone within Google Cloud DNS.
---

# google\_dns\_managed_zone

Manages a zone within Google Cloud DNS.

## Example Usage

```
resource "google_dns_managed_zone" "prod" {
    name = "prod-zone"
    dns_name = "prod.mydomain.com."
    description = "Production DNS zone"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) A unique name for the resource, required by GCE.
    Changing this forces a new resource to be created.

* `dns_name` - (Required) The DNS name of this zone, e.g. "terraform.io".

* `description` - (Optional) A textual description field.

## Attributes Reference<commit_msg>description is now a required field for google_dns_managed_zone<commit_after>---
layout: "google"
page_title: "Google: google_dns_managed_zone"
sidebar_current: "docs-google-dns-managed-zone"
description: |-
  Manages a zone within Google Cloud DNS.
---

# google\_dns\_managed_zone

Manages a zone within Google Cloud DNS.

## Example Usage

```
resource "google_dns_managed_zone" "prod" {
    name = "prod-zone"
    dns_name = "prod.mydomain.com."
    description = "Production DNS zone"
}
```

## Argument Reference

The following arguments are supported:

* `name` - (Required) A unique name for the resource, required by GCE.
    Changing this forces a new resource to be created.

* `dns_name` - (Required) The DNS name of this zone, e.g. "terraform.io".

* `description` - (Optional) A textual description field. Defaults to 'Managed by Terraform'.

## Attributes Reference
{'fraction_non_alphanumeric': 0.11170848267622462, 'fraction_numerical': 0.0, 'mean_word_length': 4.1067073170731705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3487465', 'n_tokens_mistral': 541, 'n_tokens_neox': 524, 'n_words': 175}