Skip to content

Commit

Permalink
Fix whitespace diffs on logging_sink exclusion filters (#11900) (#19744)
Browse files Browse the repository at this point in the history
[upstream:ee7110881c0f14649c942dc629dd57ee859acbf1]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Oct 3, 2024
1 parent 790d428 commit 1080042
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/11900.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
logging: fixed the whitespace permadiff on `exclusions.filter` field in `google_logging_billing_account_sink`, `google_logging_folder_sink`, `google_logging_organization_sink` and `google_logging_project_sink` resources
```
7 changes: 4 additions & 3 deletions google/services/logging/resource_logging_sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1080042

Please sign in to comment.