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" {
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"
]
}
}
```