Skip to content

Commit ce322f6

Browse files
committed
Added validation for trigger_type
1 parent a2d1500 commit ce322f6

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
@@ -91,6 +91,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
9191
"trigger_type": {
9292
Type: schema.TypeString,
9393
Optional: true,
94+
ValidateFunc: validation.StringInSlice([]string{"Critical","Warning","MissingData","ResolvedCritical","ResolvedWarning","ResolvedMissingData"}, false),
9495
},
9596
"threshold": {
9697
Type: schema.TypeFloat,

0 commit comments

Comments
 (0)