File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,7 @@ resource "google_cloud_run_service" "main" {
166166 metadata [0 ]. annotations [" run.googleapis.com/client-name" ],
167167 metadata [0 ]. annotations [" run.googleapis.com/client-version" ],
168168 metadata [0 ]. annotations [" client.knative.dev/user-image" ],
169- metadata [0 ]. annotations [" serving.knative.dev/creator" ],
170- metadata [0 ]. annotations [" serving.knative.dev/lastModifier" ],
169+ metadata [0 ][" run.googleapis.com/operation-id" ],
171170 traffic
172171 ]
173172 }
@@ -191,6 +190,14 @@ resource "google_cloud_run_domain_mapping" "domain_map" {
191190 force_override = var. force_override
192191 certificate_mode = var. certificate_mode
193192 }
193+
194+ lifecycle {
195+ ignore_changes = [
196+ metadata [0 ]. annotations [" serving.knative.dev/creator" ],
197+ metadata [0 ]. annotations [" serving.knative.dev/lastModifier" ],
198+ metadata [0 ]. annotations [" run.googleapis.com/operation-id" ],
199+ ]
200+ }
194201}
195202
196203resource "google_cloud_run_service_iam_member" "authorize" {
You can’t perform that action at this time.
0 commit comments