Skip to content

Commit b7c2961

Browse files
committed
Added validation for occurrence_type
1 parent d0fba6d commit b7c2961

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sumologic/resource_sumologic_monitors_library_monitor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
115115
"occurrence_type": {
116116
Type: schema.TypeString,
117117
Optional: true,
118+
ValidateFunc: validation.StringInSlice([]string{"AtLeastOnce","Always","ResultCount","MissingData"}, false),
118119
},
119120
"detection_method": {
120121
Type: schema.TypeString,

0 commit comments

Comments
 (0)