Skip to content

Commit

Permalink
added scope for ops-agent monitoring (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
new23d authored Mar 8, 2023
1 parent ab75a66 commit e4543df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discriminat.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ resource "google_compute_instance_template" "discriminat" {

service_account {
email = var.custom_service_account_email
scopes = var.custom_service_account_email == null ? ["compute-rw", "logging-write"] : ["cloud-platform"]
scopes = var.custom_service_account_email == null ? ["compute-rw", "logging-write", "monitoring-write"] : ["cloud-platform"]
}

labels = local.labels
Expand Down

0 comments on commit e4543df

Please sign in to comment.