Skip to content

Commit f950824

Browse files
authored
Merge pull request #37 from GoogleCloudPlatform/fix/minor-output-updates
fix: minor output updates and load balancer timeout
2 parents 9f73f2e + a4bfa92 commit f950824

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

infra/apis.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ resource "time_sleep" "cloud_run_v2_service" {
5151

5252
create_duration = "45s"
5353
}
54+
55+
resource "time_sleep" "load_balancer_warm_up_time" {
56+
depends_on = [
57+
google_compute_global_forwarding_rule.http
58+
]
59+
60+
create_duration = "370s"
61+
}

infra/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ resource "google_firestore_database" "database" {
287287
concurrency_mode = "PESSIMISTIC"
288288
app_engine_integration_mode = "DISABLED"
289289
depends_on = [
290-
time_sleep.project_services
290+
time_sleep.project_services,
291+
time_sleep.load_balancer_warm_up_time
291292
]
292293
}

infra/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
output "frontend_url" {
1818
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.)"
19+
value = "http://${google_compute_global_address.default.address}/"
2020
}
2121

2222
output "neos_toc_url" {

0 commit comments

Comments
 (0)