Skip to content

Commit

Permalink
fix(compute): Changed the service account scope in the sample (#661)
Browse files Browse the repository at this point in the history
Changed the service account scope in the sample.
  • Loading branch information
sjimmy01 authored May 13, 2024
1 parent dfa70e9 commit ec992bc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions compute/region_autoscaler_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,7 @@ resource "google_compute_instance_template" "foobar" {
# To avoid embedding secret keys or user credentials in the instances, Google recommends that you use custom service accounts with the following access scopes.
service_account {
scopes = [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring.write",
"https://www.googleapis.com/auth/pubsub",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append",
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
Expand Down

0 comments on commit ec992bc

Please sign in to comment.