Add docs about regional and zonal versions differing in GKE (#2464)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
This commit is contained in:
The Magician 2018-11-13 11:01:00 -08:00 committed by Nathan McKinley
parent 3de6e2848d
commit 5ec8d57ea7
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,12 @@ description: |-
Provides access to available Google Container Engine versions in a zone or region for a given project. Provides access to available Google Container Engine versions in a zone or region for a given project.
-> If you are using the `google_container_engine_versions` datasource with a regional cluster, ensure that you have provided a `region`
to the datasource. A `region` can have a different set of supported versions than its corresponding `zone`s, and not all `zone`s in a
`region` are guaranteed to support the same version.
## Example Usage
```hcl ```hcl
data "google_container_engine_versions" "central1b" { data "google_container_engine_versions" "central1b" {
zone = "us-central1-b" zone = "us-central1-b"

View File

@ -142,6 +142,10 @@ output "cluster_ca_certificate" {
If unset, the cluster's version will be set by GKE to the version of the most recent If unset, the cluster's version will be set by GKE to the version of the most recent
official release (which is not necessarily the latest version). official release (which is not necessarily the latest version).
-> If you are using the `google_container_engine_versions` datasource with a regional cluster, ensure that you have provided a `region`
to the datasource. A `region` can have a different set of supported versions than its corresponding `zone`s, and not all `zone`s in a
`region` are guaranteed to support the same version.
* `monitoring_service` - (Optional) The monitoring service that the cluster * `monitoring_service` - (Optional) The monitoring service that the cluster
should write metrics to. should write metrics to.
Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API. Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API.