Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deployment/modules/gcp/cloudrun/README.md.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Cloud Run

## Tips

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).
10 changes: 0 additions & 10 deletions deployment/modules/gcp/cloudrun/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ resource "google_cloud_run_v2_service" "default" {
}
}
}
// Attach a VPC for better throughput:
// https://cloud.google.com/run/docs/configuring/networking-best-practices#direct-vpc-throughput
vpc_access {
network_interfaces {
network = "default"
subnetwork = "default"
tags = ["tesseract",]
}
egress = "ALL_TRAFFIC"
}
}

deletion_protection = false
Expand Down
Loading