From fd51fe6f24cc8d789094f5008ea34c74c11b9ac1 Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 4 Jul 2024 15:24:16 +1000 Subject: [PATCH 1/3] fix: add explicit iam depends Attempts to reduce failure errors on destroy --- infra/service.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/service.tf b/infra/service.tf index 784cad56..99882af0 100644 --- a/infra/service.tf +++ b/infra/service.tf @@ -101,4 +101,5 @@ resource "google_cloud_run_service_iam_policy" "server_noauth" { project = google_cloud_run_v2_service.server.project service = google_cloud_run_v2_service.server.name policy_data = data.google_iam_policy.noauth.policy_data + depends_on = [google_cloud_run_v2_service.server] } From 87922a3627a0aab98998cd513b74ec6b4e2d8cfe Mon Sep 17 00:00:00 2001 From: Katie McLaughlin Date: Thu, 4 Jul 2024 15:25:03 +1000 Subject: [PATCH 2/3] chore: bump avocano version --- infra/variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/variables.tf b/infra/variables.tf index f18b5e80..b6d66e22 100644 --- a/infra/variables.tf +++ b/infra/variables.tf @@ -62,7 +62,7 @@ variable "init" { variable "image_version" { type = string - default = "v1.9.0" + default = "v1.10.3" description = "Version of the container image to use" } From 66ce22c39c14aca2bc64edd586d678516a712b15 Mon Sep 17 00:00:00 2001 From: Nim Jayawardena Date: Mon, 8 Jul 2024 08:37:34 -0400 Subject: [PATCH 3/3] Update image_version in infra/README.md --- infra/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/README.md b/infra/README.md index a0eb1ccd..517cb32d 100644 --- a/infra/README.md +++ b/infra/README.md @@ -48,7 +48,7 @@ Functional examples are included in the | database\_name | Cloud SQL database name | `string` | `"django"` | no | | database\_username | Cloud SQL database name | `string` | `"server"` | no | | enable\_apis | Whether or not to enable underlying apis in this solution. | `bool` | `true` | no | -| image\_version | Version of the container image to use | `string` | `"v1.9.0"` | no | +| image\_version | Version of the container image to use | `string` | `"v1.10.3"` | no | | init | Initialize database? | `bool` | `true` | no | | instance\_name | Cloud SQL Instance name | `string` | `"psql"` | no | | labels | A set of key/value label pairs to assign to the resources deployed by this blueprint. | `map(string)` | `{}` | no |