mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-24 02:26:00 +00:00
Document that GKE master_auth key is an array (#617)
* Document that GKE master_auth key is an array This resolves https://github.com/hashicorp/terraform/issues/16417 and is a follow up to https://github.com/hashicorp/terraform/issues/14073 * Update container_cluster.html.markdown * Update container_cluster.html.markdown * Update container_cluster.html.markdown
This commit is contained in:
parent
905ee21dd2
commit
8cf605f23e
|
@ -49,6 +49,19 @@ resource "google_container_cluster" "primary" {
|
||||||
tags = ["foo", "bar"]
|
tags = ["foo", "bar"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The following outputs allow authentication and connectivity to the Google Container Cluster.
|
||||||
|
output "client_certificate" {
|
||||||
|
value = "${google_container_cluster.primary.master_auth.0.client_certificate}"
|
||||||
|
}
|
||||||
|
|
||||||
|
output "client_key" {
|
||||||
|
value = "${google_container_cluster.primary.master_auth.0.client_key}"
|
||||||
|
}
|
||||||
|
|
||||||
|
output "cluster_ca_certificate" {
|
||||||
|
value = "${google_container_cluster.primary.master_auth.0.cluster_ca_certificate}"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Argument Reference
|
## Argument Reference
|
||||||
|
@ -214,13 +227,13 @@ exported:
|
||||||
* `instance_group_urls` - List of instance group URLs which have been assigned
|
* `instance_group_urls` - List of instance group URLs which have been assigned
|
||||||
to the cluster.
|
to the cluster.
|
||||||
|
|
||||||
* `master_auth.client_certificate` - Base64 encoded public certificate
|
* `master_auth.0.client_certificate` - Base64 encoded public certificate
|
||||||
used by clients to authenticate to the cluster endpoint.
|
used by clients to authenticate to the cluster endpoint.
|
||||||
|
|
||||||
* `master_auth.client_key` - Base64 encoded private key used by clients
|
* `master_auth.0.client_key` - Base64 encoded private key used by clients
|
||||||
to authenticate to the cluster endpoint.
|
to authenticate to the cluster endpoint.
|
||||||
|
|
||||||
* `master_auth.cluster_ca_certificate` - Base64 encoded public certificate
|
* `master_auth.0.cluster_ca_certificate` - Base64 encoded public certificate
|
||||||
that is the root of trust for the cluster.
|
that is the root of trust for the cluster.
|
||||||
|
|
||||||
* `master_version` - The current version of the master in the cluster. This may
|
* `master_version` - The current version of the master in the cluster. This may
|
||||||
|
|
Loading…
Reference in New Issue
Block a user