diff --git a/third_party/terraform/resources/resource_container_cluster.go.erb b/third_party/terraform/resources/resource_container_cluster.go.erb index 5d04a416cdd3..24bd0f385659 100644 --- a/third_party/terraform/resources/resource_container_cluster.go.erb +++ b/third_party/terraform/resources/resource_container_cluster.go.erb @@ -24,7 +24,10 @@ var ( Schema: map[string]*schema.Schema{ "cidr_blocks": { Type: schema.TypeSet, - Required: true, + // Despite being the only entry in a nested block, this should be kept + // Optional. Expressing the parent with no entries and omitting the + // parent entirely are semantically different. + Optional: true, Elem: cidrBlockConfig, }, },