Skip to content

Commit ff93637

Browse files
committed
Added validation for connection_type
1 parent f4c40b2 commit ff93637

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
@@ -149,6 +149,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
149149
Type: schema.TypeString,
150150
Optional: true,
151151
Computed: true,
152+
ValidateFunc: validation.StringInSlice([]string{"Email","AWSLambda","AzureFunctions","Datadog","HipChat","Jira","NewRelic","Opsgenie","PagerDuty","Slack","MicrosoftTeams","Webhook"}, false),
152153
},
153154
"subject": {
154155
Type: schema.TypeString,

0 commit comments

Comments
 (0)