Merge pull request #3735 from lwander/b-gcp-container-cluster-document-scopes

provider/google: Improve Container Scope Example Documentation
This commit is contained in:
Lars Wander 2015-12-15 13:03:05 -05:00
commit a4d9ae3fa5
1 changed files with 16 additions and 7 deletions

View File

@ -14,14 +14,23 @@ description: |-
``` ```
resource "google_container_cluster" "primary" { resource "google_container_cluster" "primary" {
name = "marcellus-wallace" name = "marcellus-wallace"
zone = "us-central1-a" zone = "us-central1-a"
initial_node_count = 3 initial_node_count = 3
master_auth { master_auth {
username = "mr.yoda" username = "mr.yoda"
password = "adoy.rm" 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"
]
}
} }
``` ```