From 2d639d7f7405e02028d5465a9188a3bc2d7d4723 Mon Sep 17 00:00:00 2001 From: Ryan Kowalewski <rk725@cam.ac.uk> Date: Thu, 15 Jun 2023 09:08:20 +0100 Subject: [PATCH] chore: add more annotations to lifecycle ignore_changes --- main.tf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.tf b/main.tf index 695e9b0..d68624d 100644 --- a/main.tf +++ b/main.tf @@ -175,8 +175,13 @@ resource "google_cloud_run_service" "webapp" { 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"], + template[0].metadata[0].annotations["run.googleapis.com/operation-id"], + template[0].metadata[0].labels["run.googleapis.com/startupProbeType"], template[0].metadata[0].annotations["run.googleapis.com/sandbox"], + 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].labels["run.googleapis.com/startupProbeType"], # These are only changed when "run.googleapis.com/launch-stage" is "BETA". # It's non-trivial to make ignore_changes dependent on input variables so -- GitLab