diff --git a/builtin/providers/google/resource_dns_managed_zone.go b/builtin/providers/google/resource_dns_managed_zone.go index 6d76c0c44285..0ef813ef2d11 100644 --- a/builtin/providers/google/resource_dns_managed_zone.go +++ b/builtin/providers/google/resource_dns_managed_zone.go @@ -32,6 +32,7 @@ func resourceDnsManagedZone() *schema.Resource { Type: schema.TypeString, Optional: true, ForceNew: true, + Default: "Managed by Terraform", }, "name_servers": &schema.Schema{ diff --git a/builtin/providers/google/resource_dns_managed_zone_test.go b/builtin/providers/google/resource_dns_managed_zone_test.go index b90fc8697d21..c136c8e10679 100644 --- a/builtin/providers/google/resource_dns_managed_zone_test.go +++ b/builtin/providers/google/resource_dns_managed_zone_test.go @@ -80,5 +80,4 @@ var testAccDnsManagedZone_basic = fmt.Sprintf(` resource "google_dns_managed_zone" "foobar" { name = "mzone-test-%s" dns_name = "terraform.test." - description = "Test Description" }`, acctest.RandString(10)) diff --git a/website/source/docs/providers/google/r/dns_managed_zone.markdown b/website/source/docs/providers/google/r/dns_managed_zone.markdown index 90e9c73f5a46..c57d948794f4 100644 --- a/website/source/docs/providers/google/r/dns_managed_zone.markdown +++ b/website/source/docs/providers/google/r/dns_managed_zone.markdown @@ -29,7 +29,7 @@ The following arguments are supported: * `dns_name` - (Required) The DNS name of this zone, e.g. "terraform.io". -* `description` - (Optional) A textual description field. +* `description` - (Optional) A textual description field. Defaults to 'Managed by Terraform'. ## Attributes Reference