mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-03 01:01:06 +00:00
description is now a required field for google_dns_managed_zone
The description field for a managed-zone is now a required field when using the Cloud API. This commit defaults the field to use the text "Managed by Terraform" to minimize required boilerplate for Terraform users. Ref: https://cloud.google.com/sdk/gcloud/reference/dns/managed-zones/create
This commit is contained in:
parent
67b35fb02a
commit
a9604c4104
@ -32,6 +32,7 @@ func resourceDnsManagedZone() *schema.Resource {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
Default: "Managed by Terraform",
|
||||
},
|
||||
|
||||
"name_servers": &schema.Schema{
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user