From 368153a662938950332e2a9579c4197f6015b632 Mon Sep 17 00:00:00 2001 From: KiyotakaMatsushita Date: Tue, 29 Oct 2024 16:40:31 +0900 Subject: [PATCH 1/2] chore: Add run.googleapis.com/urls annotation to ignore changes --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 6befd6bb..985ec966 100644 --- a/main.tf +++ b/main.tf @@ -194,6 +194,7 @@ resource "google_cloud_run_service" "main" { metadata[0].annotations["run.googleapis.com/client-name"], metadata[0].annotations["run.googleapis.com/client-version"], metadata[0].annotations["run.googleapis.com/operation-id"], + metadata[0].annotations["run.googleapis.com/urls"], template[0].metadata[0].annotations["client.knative.dev/user-image"], template[0].metadata[0].annotations["run.googleapis.com/client-name"], template[0].metadata[0].annotations["run.googleapis.com/client-version"], From 358afa14172a5487a0a2ba574bb9ab17bfa4fe0d Mon Sep 17 00:00:00 2001 From: KiyotakaMatsushita Date: Mon, 11 Nov 2024 17:41:26 +0900 Subject: [PATCH 2/2] chore: Ignore changes to run.googleapis.com/urls annotation in domain mapping --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 985ec966..805262f0 100644 --- a/main.tf +++ b/main.tf @@ -225,6 +225,7 @@ resource "google_cloud_run_domain_mapping" "domain_map" { lifecycle { ignore_changes = [ metadata[0].annotations["run.googleapis.com/operation-id"], + metadata[0].annotations["run.googleapis.com/urls"], ] } }