Skip to content

Commit 91bfd78

Browse files
committed
sandbox: add stackdriver scope
This changes the sandbox VMs to allow them to write to StackDriver metrics. Updates golang/go#25224 Updates golang/go#38530 Change-Id: I82954b8eed3664289f5c69c0f5301a72206f0948 Reviewed-on: https://go-review.googlesource.com/c/playground/+/229681 Run-TryBot: Alexander Rakoczy <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent a90f64a commit 91bfd78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sandbox/sandbox.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ resource "google_compute_instance_template" "inst_tmpl" {
4545
network = "golang"
4646
}
4747
service_account {
48-
scopes = ["logging-write", "storage-ro"]
48+
scopes = ["logging-write", "storage-ro", "monitoring-write"]
4949
}
5050
disk {
5151
source_image = data.google_compute_image.cos.self_link

0 commit comments

Comments
 (0)