Merge pull request #1269 from GoogleCloudPlatform/jccb/fix-1173

Ignore changes to metadata.0.annotations in Cloud Run module
This commit is contained in:
Julio Castillo 2023-03-21 12:21:59 +01:00 committed by GitHub
commit fc000530c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/**
* Copyright 2022 Google LLC
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -193,6 +193,11 @@ resource "google_cloud_run_service" "service" {
}
}
lifecycle {
ignore_changes = [
metadata.0.annotations
]
}
}
resource "google_cloud_run_service_iam_binding" "binding" {