Skip to content

Commit ff37bda

Browse files
authored
Add ignore changes tempaltes to monitoring terraform (#4926)
It adds the flag to ignore changes on monitoring terraform. Its needed to reduce the noise on the terraform plan. Terraform plan without the noise after changes. <img width="1330" height="814" alt="image" src="https://github.com/user-attachments/assets/d7b7d75a-a2d3-4e54-b376-4b1acef525b5" /> --------- Signed-off-by: Javan Lacerda <javanlacerda@google.com>
1 parent 0921242 commit ff37bda

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

infra/terraform/monitoring.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ provider "google" {
2020

2121
resource "google_monitoring_dashboard" "clusterfuzz_sli_dashboard" {
2222
provider = google.monitoring
23+
lifecycle {
24+
ignore_changes = [
25+
dashboard_json,
26+
]
27+
}
2328
dashboard_json = <<JSON
2429
{
2530
"displayName": "Clusterfuzz Relability Metrics",

0 commit comments

Comments
 (0)