From 61930b69b50d0211fe530be4b570339b6c17ae30 Mon Sep 17 00:00:00 2001 From: Jonathan Pentecost Date: Fri, 18 May 2018 18:48:31 +0100 Subject: [PATCH] website/docs/d/datasource_client_config: docs use datasource (#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. --- docs/d/datasource_client_config.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/d/datasource_client_config.html.markdown b/docs/d/datasource_client_config.html.markdown index 989185e73d9..52f02029a49 100644 --- a/docs/d/datasource_client_config.html.markdown +++ b/docs/d/datasource_client_config.html.markdown @@ -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)}" } ```