Skip to content

Commit ad3a14d

Browse files
authored
Merge pull request #186 from SumoLogic/rohit-add-msteams-connection-docs
Add MicrosoftTeams to supported webhook_types in connections
2 parents 76b6e13 + a834cd9 commit ad3a14d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sumologic/resource_sumologic_connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func resourceSumologicConnection() *schema.Resource {
7777
"webhook_type": {
7878
Type: schema.TypeString,
7979
Optional: true,
80-
ValidateFunc: validation.StringInSlice([]string{"AWSLambda", "Azure", "Datadog", "HipChat", "PagerDuty", "Slack", "Webhook", "NewRelic", "Jira", "Opsgenie"}, false),
80+
ValidateFunc: validation.StringInSlice([]string{"AWSLambda", "Azure", "Datadog", "HipChat", "PagerDuty", "Slack", "Webhook", "NewRelic", "Jira", "Opsgenie", "MicrosoftTeams"}, false),
8181
Default: "Webhook",
8282
},
8383
},

website/docs/r/connection.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The following arguments are supported:
4848
- `headers` - (Optional) Map of access authorization headers.
4949
- `custom_headers` - (Optional) Map of custom webhook headers
5050
- `default_payload` - (Required) Default payload of the webhook.
51-
- `webhook_type` - (Optional) Type of webhook. Valid values are `AWSLambda`, `Azure`, `Datadog`, `HipChat`, `PagerDuty`, `Slack`, `Webhook`, and `NewRelic`. Default: `Webhook`
51+
- `webhook_type` - (Optional) Type of webhook. Valid values are `AWSLambda`, `Azure`, `Datadog`, `HipChat`, `PagerDuty`, `Slack`, `Webhook`, `NewRelic`, and `MicrosoftTeams`. Default: `Webhook`
5252

5353
Additional data provided in state
5454

0 commit comments

Comments
 (0)