Skip to content

Commit

Permalink
Added suppress diff for notify setting in alert
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott committed Oct 18, 2024
1 parent 2603ace commit 477e85d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/resource_alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 477e85d

Please sign in to comment.