Skip to content

Commit ec992bc

Browse files
authored
fix(compute): Changed the service account scope in the sample (#661)
Changed the service account scope in the sample.
1 parent dfa70e9 commit ec992bc

File tree

1 file changed

+1
-7
lines changed
  • compute/region_autoscaler_basic

1 file changed

+1
-7
lines changed

compute/region_autoscaler_basic/main.tf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,7 @@ resource "google_compute_instance_template" "foobar" {
5353
# To avoid embedding secret keys or user credentials in the instances, Google recommends that you use custom service accounts with the following access scopes.
5454
service_account {
5555
scopes = [
56-
"https://www.googleapis.com/auth/devstorage.read_only",
57-
"https://www.googleapis.com/auth/logging.write",
58-
"https://www.googleapis.com/auth/monitoring.write",
59-
"https://www.googleapis.com/auth/pubsub",
60-
"https://www.googleapis.com/auth/service.management.readonly",
61-
"https://www.googleapis.com/auth/servicecontrol",
62-
"https://www.googleapis.com/auth/trace.append",
56+
"https://www.googleapis.com/auth/cloud-platform"
6357
]
6458
}
6559
}

0 commit comments

Comments
 (0)