provider/google: Improve Container Scope Example Documentation

This commit is contained in:
Lars Wander 2015-11-03 10:30:36 -05:00
parent 519756c42a
commit 843c04e917
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"
]
}
}
```