Skip to content

Commit

Permalink
Add docs about regional and zonal versions differing in GKE (hashicor…
Browse files Browse the repository at this point in the history
…p#128)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
  • Loading branch information
modular-magician authored and rileykarson committed Nov 13, 2018
1 parent 4e534d4 commit 0f62ebc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/docs/d/google_container_engine_versions.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ description: |-

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
data "google_container_engine_versions" "central1b" {
zone = "us-central1-b"
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/container_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
should write metrics to.
Automatically send metrics from pods in the cluster to the Google Cloud Monitoring API.
Expand Down

0 comments on commit 0f62ebc

Please sign in to comment.