From 799f7387d132495e4b80f8a0d67276d3a4b8d96b Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 8 Apr 2019 12:57:00 -0700 Subject: [PATCH] Relax the limit on # of master authorized networks in GKE (#3397) Original Author: @rileykarson --- google/resource_container_cluster.go | 1 - google/resource_sql_database_instance_test.go | 1 + website/docs/r/container_cluster.html.markdown | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/google/resource_container_cluster.go b/google/resource_container_cluster.go index 50c01097..24af4511 100644 --- a/google/resource_container_cluster.go +++ b/google/resource_container_cluster.go @@ -24,7 +24,6 @@ var ( Type: schema.TypeSet, Optional: true, Computed: true, - MaxItems: 20, Elem: cidrBlockConfig, }, }, diff --git a/google/resource_sql_database_instance_test.go b/google/resource_sql_database_instance_test.go index 87d875f7..c96fe44c 100644 --- a/google/resource_sql_database_instance_test.go +++ b/google/resource_sql_database_instance_test.go @@ -9,6 +9,7 @@ import ( "github.com/hashicorp/terraform/helper/acctest" "github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/terraform" + sqladmin "google.golang.org/api/sqladmin/v1beta4" ) diff --git a/website/docs/r/container_cluster.html.markdown b/website/docs/r/container_cluster.html.markdown index eb9cb57a..b27a3370 100644 --- a/website/docs/r/container_cluster.html.markdown +++ b/website/docs/r/container_cluster.html.markdown @@ -445,8 +445,8 @@ This block also contains several computed attributes, documented below. If this The `master_authorized_networks_config` block supports: -* `cidr_blocks` - (Optional) Defines up to 20 external networks that can access - Kubernetes master through HTTPS. +* `cidr_blocks` - (Optional) External networks that can access the + Kubernetes cluster master through HTTPS. The `master_authorized_networks_config.cidr_blocks` block supports: