From 477e85d15a1e59ce99c1b81e55a5c74c94bf5b06 Mon Sep 17 00:00:00 2001 From: Alex Ott Date: Fri, 18 Oct 2024 12:53:59 +0200 Subject: [PATCH] Added suppress diff for notify setting in alert --- sql/resource_alert.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/resource_alert.go b/sql/resource_alert.go index 15056d05e..4bd7c7b20 100644 --- a/sql/resource_alert.go +++ b/sql/resource_alert.go @@ -38,6 +38,7 @@ func ResourceAlert() common.Resource { strings.TrimPrefix(f, "condition.0.threshold.0.value.0.")).SetExactlyOneOf(alof) } common.CustomizeSchemaPath(m, "owner_user_name").SetSuppressDiff() + common.CustomizeSchemaPath(m, "notify_on_ok").SetSuppressDiff() common.CustomizeSchemaPath(m, "id").SetReadOnly() common.CustomizeSchemaPath(m, "create_time").SetReadOnly() common.CustomizeSchemaPath(m, "lifecycle_state").SetReadOnly()