File tree 2 files changed +6
-18
lines changed
2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,14 @@ resource "google_secret_manager_secret_iam_binding" "nextauth_secret" {
106
106
}
107
107
108
108
# ## Cloud Run service resources and network endpoint group ###
109
-
109
+ # ### Service Account
110
110
resource "google_service_account" "cloud_run" {
111
111
project = var. project_id
112
- account_id = " sa -run"
113
- display_name = " Service account for ${ var . deployment_name } Cloud Run service."
112
+ account_id = " cloud -run-service-account "
113
+ display_name = " ${ var . deployment_name } Cloud Run service Service Account ."
114
114
}
115
115
116
+ # ### Cloud Run IAM
116
117
resource "google_project_iam_member" "run_datastore_owner" {
117
118
project = var. project_id
118
119
role = " roles/datastore.owner"
@@ -145,20 +146,6 @@ resource "google_cloud_run_v2_service" "default" {
145
146
name = " NEXTAUTH_URL"
146
147
value = local. nextauth_url
147
148
}
148
- startup_probe {
149
- initial_delay_seconds = 45
150
- timeout_seconds = 65
151
- period_seconds = 5
152
- failure_threshold = 5
153
- tcp_socket {
154
- port = 8080
155
- }
156
- }
157
- liveness_probe {
158
- http_get {
159
- path = " /"
160
- }
161
- }
162
149
}
163
150
service_account = google_service_account. cloud_run . email
164
151
}
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
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.)"
19
20
}
20
21
21
22
output "neos_toc_url" {
You can’t perform that action at this time.
0 commit comments