From 215c53915cd6199e8d863218e4db4a51c3ded3f6 Mon Sep 17 00:00:00 2001 From: Lars Wander Date: Tue, 3 Nov 2015 10:30:36 -0500 Subject: [PATCH] provider/google: Improve Container Scope Example Documentation --- r/container_cluster.html.markdown | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/r/container_cluster.html.markdown b/r/container_cluster.html.markdown index 5a66ec9a..a3ebad49 100644 --- a/r/container_cluster.html.markdown +++ b/r/container_cluster.html.markdown @@ -14,14 +14,23 @@ description: |- ``` resource "google_container_cluster" "primary" { - name = "marcellus-wallace" - zone = "us-central1-a" - initial_node_count = 3 + name = "marcellus-wallace" + zone = "us-central1-a" + initial_node_count = 3 - master_auth { - username = "mr.yoda" - password = "adoy.rm" - } + master_auth { + username = "mr.yoda" + password = "adoy.rm" + } + + node_config { + oauth_scopes = [ + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/logging.write", + "https://www.googleapis.com/auth/monitoring" + ] + } } ```