Skip to content

Commit a7a4d45

Browse files
authored
Merge pull request #822 from SumoLogic/roles_v2_terraform
Add omitempty tag to ViewFilter in ViewFilterDefinition
2 parents 64733ee + d1fb722 commit a7a4d45

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
## X.Y.Z (Unreleased)
2-
* Add new change notes here
1+
## 3.1.8 (Unreleased)
2+
BUG FIXES:
3+
* Fixed validation error when updating roles with selection_type="Deny"
34

45
## 3.1.7 (October 31, 2025)
56

sumologic/sumologic_role_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ type RoleV2 struct {
9595

9696
type ViewFilterDefinition struct {
9797
ViewName string `json:"viewName"`
98-
ViewFilter string `json:"viewFilter"`
98+
ViewFilter string `json:"viewFilter,omitempty"`
9999
}

0 commit comments

Comments
 (0)