Skip to content

Commit

Permalink
Merge pull request #90 from iLert/fix/microsoft-teams-webhook-validation
Browse files Browse the repository at this point in the history
Fix/microsoft-teams-webhook-validation
  • Loading branch information
STLVRTX authored Jul 24, 2024
2 parents 0ae944b + 9fc5d86 commit d40d8c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 24.07.2024, Version 2.8.6

- fix/microsoft-teams-webhook-validation [#90](https://github.com/iLert/terraform-provider-ilert/pull/90)

## 19.07.2024, Version 2.8.5

- Add microsoft_teams_webhook to alert actions [#89](https://github.com/iLert/terraform-provider-ilert/pull/89)
Expand Down
2 changes: 1 addition & 1 deletion ilert/resource_connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

func resourceConnector() *schema.Resource {
// remove types with no or one specific standalone connector
connectorTypesAll := removeStringsFromSlice(ilert.ConnectorTypesAll, ilert.ConnectorTypes.Email, ilert.ConnectorTypes.MicrosoftTeamsBot, ilert.ConnectorTypes.Slack, ilert.ConnectorTypes.Webhook, ilert.ConnectorTypes.AutomationRule, ilert.ConnectorTypes.Telegram, ilert.ConnectorTypes.DingTalkAction)
connectorTypesAll := removeStringsFromSlice(ilert.ConnectorTypesAll, ilert.ConnectorTypes.Email, ilert.ConnectorTypes.MicrosoftTeamsBot, ilert.ConnectorTypes.Slack, ilert.ConnectorTypes.Webhook, ilert.ConnectorTypes.AutomationRule, ilert.ConnectorTypes.Telegram, ilert.ConnectorTypes.DingTalkAction, ilert.ConnectorTypes.MicrosoftTeamsWebhook)
return &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Expand Down

0 comments on commit d40d8c1

Please sign in to comment.