Skip to content

Commit be8996e

Browse files
committed
disable vpc
1 parent c1e016f commit be8996e

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Cloud Run
2+
3+
## Tips
4+
5+
You may want to attach your service to a VPC to allow for [better throughput](https://cloud.google.com/run/docs/configuring/networking-best-practices#direct-vpc-throughput).

deployment/modules/gcp/cloudrun/main.tf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ resource "google_cloud_run_v2_service" "default" {
7777
}
7878
}
7979
}
80-
// Attach a VPC for better throughput:
81-
// https://cloud.google.com/run/docs/configuring/networking-best-practices#direct-vpc-throughput
82-
vpc_access {
83-
network_interfaces {
84-
network = "default"
85-
subnetwork = "default"
86-
tags = ["tesseract",]
87-
}
88-
egress = "ALL_TRAFFIC"
89-
}
9080
}
9181

9282
deletion_protection = false

0 commit comments

Comments
 (0)