Skip to content

Commit 9b0612a

Browse files
rileykarsonpengq-google
authored andcommitted
Fix GKE front matter, bad field docs (GoogleCloudPlatform#10018)
* Fix GKE front matter, bad field docs * Update container_cluster.html.markdown
1 parent 5f7ffa0 commit 9b0612a

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

mmv1/third_party/terraform/website/docs/r/container_cluster.html.markdown

+14-15
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@ description: |-
66

77
# google\_container\_cluster
88

9-
-> Visit the [Provision a GKE Cluster (Google Cloud)](https://learn.hashicorp.com/tutorials/terraform/gke?in=terraform/kubernetes&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS) Learn tutorial to learn how to provision and interact
10-
with a GKE cluster.
9+
Manages a Google Kubernetes Engine (GKE) cluster.
1110

12-
-> See the [Using GKE with Terraform](/docs/providers/google/guides/using_gke_with_terraform.html)
13-
guide for more information about using GKE with Terraform.
11+
To get more information about GKE clusters, see:
12+
* [The API reference](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters)
13+
* How-to guides
14+
* [GKE overview](https://cloud.google.com/kubernetes-engine/docs/concepts/kubernetes-engine-overview)
15+
* [About cluster configuration choices](https://cloud.google.com/kubernetes-engine/docs/concepts/types-of-clusters)
16+
* Terraform guidance
17+
* [Using GKE with Terraform](/docs/providers/google/guides/using_gke_with_terraform.html)
18+
* [Provision a GKE Cluster (Google Cloud) Learn tutorial](https://learn.hashicorp.com/tutorials/terraform/gke?in=terraform/kubernetes&utm_source=WEBSITE&utm_medium=WEB_IO&utm_offer=ARTICLE_PAGE&utm_content=DOCS)
1419

15-
Manages a Google Kubernetes Engine (GKE) cluster. For more information see
16-
[the official documentation](https://cloud.google.com/container-engine/docs/clusters)
17-
and [the API reference](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters).
20+
-> On version 5.0.0+ of the provider, you must explicitly set `deletion_protection = false`
21+
and run `terraform apply` to write the field to state in order to destroy a cluster.
1822

19-
-> **Note**: On version 5.0.0+ of the provider, you must explicitly set `deletion_protection=false`
20-
(and run `terraform apply` to write the field to state) in order to destroy a cluster.
21-
It is recommended to not set this field (or set it to true) until you're ready to destroy.
22-
23-
~> **Warning:** All arguments and attributes, including basic auth username and
24-
passwords as well as certificate outputs will be stored in the raw state as
23+
~> All arguments and attributes (including certificate outputs) will be stored in the raw state as
2524
plaintext. [Read more about sensitive data in state](https://www.terraform.io/language/state/sensitive-data).
2625

2726
## Example Usage - with a separately managed node pool (recommended)
@@ -1111,6 +1110,8 @@ subnet. See [Private Cluster Limitations](https://cloud.google.com/kubernetes-en
11111110
for more details. This field only applies to private clusters, when
11121111
`enable_private_nodes` is `true`.
11131112

1113+
* `private_endpoint_subnetwork` - (Optional) Subnetwork in cluster's network where master's endpoint will be provisioned.
1114+
11141115
* `master_global_access_config` (Optional) - Controls cluster master global
11151116
access settings. If unset, Terraform will no longer manage this field and will
11161117
not modify the previously-set value. Structure is [documented below](#nested_master_global_access_config).
@@ -1121,8 +1122,6 @@ In addition, the `private_cluster_config` allows access to the following read-on
11211122

11221123
* `private_endpoint` - The internal IP address of this cluster's master endpoint.
11231124

1124-
* `private_endpoint_subnetwork` - Subnetwork in cluster's network where master's endpoint will be provisioned.
1125-
11261125
* `public_endpoint` - The external IP address of this cluster's master endpoint.
11271126

11281127
!> The Google provider is unable to validate certain configurations of

0 commit comments

Comments
 (0)