Skip to content

Commit

Permalink
website/docs/d/datasource_client_config: docs use datasource (hashico…
Browse files Browse the repository at this point in the history
…rp#1502)

The docs currently don't use the datasource version of
'google_client_config'. This PR just prefixes 'data.'
to 'google_client_config' in the datasource docs.
  • Loading branch information
vishen authored and rosbo committed May 18, 2018
1 parent 1a39c77 commit 61930b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/d/datasource_client_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ data "google_container_cluster" "my_cluster" {
provider "kubernetes" {
load_config_file = false
host = "https://${google_container_cluster.my_cluster.endpoint}"
host = "https://${data.google_container_cluster.my_cluster.endpoint}"
token = "${data.google_client_config.default.access_token}"
cluster_ca_certificate = "${base64decode(google_container_cluster.my_cluster.master_auth.0.cluster_ca_certificate)}"
cluster_ca_certificate = "${base64decode(data.google_container_cluster.my_cluster.master_auth.0.cluster_ca_certificate)}"
}
```

Expand Down

0 comments on commit 61930b6

Please sign in to comment.