File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
healthchecks_startup_probe_grpc
healthchecks_startup_probe_tcp Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ resource "google_cloud_run_v2_service" "default" {
2626 name = " cloudrun-service-healthcheck"
2727 location = " us-central1"
2828
29+ deletion_protection = false # set to "true" in production
30+
2931 template {
3032 containers {
3133 # Note: Change to the name of your image
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ resource "google_cloud_run_v2_service" "default" {
2626 name = " cloudrun-service-healthcheck"
2727 location = " us-central1"
2828
29+ deletion_protection = false # set to "true" in production
30+
2931 template {
3032 containers {
3133 image = " us-docker.pkg.dev/cloudrun/container/hello"
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ resource "google_cloud_run_v2_service" "private" {
7676 name = " private-service"
7777 location = " us-central1"
7878
79+ deletion_protection = false # set to "true" in production
80+
7981 template {
8082 containers {
8183 // TODO<developer>: replace this with a private service container
You can’t perform that action at this time.
0 commit comments