Skip to content

Commit 2ffa84b

Browse files
authored
Merge pull request #34 from GoogleCloudPlatform/fix/cloud-run-v2-timeouts
fix: remove optional startup & liveness checks
2 parents a930e19 + 28cf454 commit 2ffa84b

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

infra/main.tf

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,6 @@ resource "google_cloud_run_v2_service" "default" {
146146
name = "NEXTAUTH_URL"
147147
value = local.nextauth_url
148148
}
149-
startup_probe {
150-
initial_delay_seconds = 45
151-
timeout_seconds = 65
152-
period_seconds = 5
153-
failure_threshold = 5
154-
tcp_socket {
155-
port = 8080
156-
}
157-
}
158-
liveness_probe {
159-
http_get {
160-
path = "/"
161-
}
162-
}
163149
}
164150
service_account = google_service_account.cloud_run.email
165151
}

infra/outputs.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
*/
1616

1717
output "frontend_url" {
18-
value = "http://${google_compute_global_address.default.address}/"
18+
description = "IP address to site. Load balancer expected to take ~5 minutes for it to warm up."
19+
value = "http://${google_compute_global_address.default.address}/ (Wait ~5 minutes for it to warm up.)"
1920
}
2021

2122
output "neos_toc_url" {

0 commit comments

Comments
 (0)