Skip to content

Commit

Permalink
Always suppress from diff
Browse files Browse the repository at this point in the history
  • Loading branch information
therve committed Aug 27, 2020
1 parent 6c94256 commit d0ac145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions datadog/resource_datadog_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ func resourceDatadogMonitor() *schema.Resource {
"validate": {
Type: schema.TypeBool,
Optional: true,
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
// This is never sent to the backend, so it should never generate a diff
return true
},
},
},
}
Expand Down

0 comments on commit d0ac145

Please sign in to comment.