diff --git a/google/services/logging/resource_logging_sink.go b/google/services/logging/resource_logging_sink.go index c08e5c705cc..6f6cd5c4afa 100644 --- a/google/services/logging/resource_logging_sink.go +++ b/google/services/logging/resource_logging_sink.go @@ -65,9 +65,10 @@ func resourceLoggingSinkSchema() map[string]*schema.Schema { Description: `A description of this exclusion.`, }, "filter": { - Type: schema.TypeString, - Required: true, - Description: `An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries`, + Type: schema.TypeString, + Required: true, + DiffSuppressFunc: OptionalSurroundingSpacesSuppress, + Description: `An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries`, }, "disabled": { Type: schema.TypeBool,