Skip to content

Commit 866ee3a

Browse files
authored
Merge pull request #62 from dts/master
Add logging and monitoring to simple example (r.e. #60)
2 parents b452196 + 354426d commit 866ee3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/simple_instance/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ resource "google_compute_instance" "vm" {
8080

8181
metadata = {
8282
gce-container-declaration = module.gce-container.metadata_value
83+
google-logging-enabled = "true"
84+
google-monitoring-enabled = "true"
8385
}
8486

8587
labels = {

0 commit comments

Comments
 (0)