GoogleCloudPlatform / terraform-google-cloud-run

Deploys apps to Cloud Run, along with option to map custom domain
https://registry.terraform.io/modules/GoogleCloudPlatform/cloud-run/google
Apache License 2.0
143 stars 95 forks source link

BUG: tcp_socket missing in variables.tf #245

Open maximeroma opened 1 month ago

maximeroma commented 1 month ago
│ Error: Unsupported attribute
│
│   on .terraform/modules/cloud_run/modules/v2/main.tf line 183, in resource "google_cloud_run_v2_service" "main":
│  183:               for_each = liveness_probe.value.tcp_socket[*]
│     ├────────────────
│     │ liveness_probe.value is object with 6 attributes
│
│ This object does not have an attribute named "tcp_socket".

In variables.tf of the v2 module, add tcp_socket in optional field for liveness_probe fixe the issue for me

bbensky commented 1 month ago

Same issue as well.