From a55cfca92d887d542b1fda881bfacbb9bfbbba81 Mon Sep 17 00:00:00 2001 From: Marko Simon Date: Wed, 24 Jul 2024 16:06:53 +0200 Subject: [PATCH 1/3] add teams webhook to exceptions for validation --- ilert/resource_connector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ilert/resource_connector.go b/ilert/resource_connector.go index 393caaa..5a04cbb 100644 --- a/ilert/resource_connector.go +++ b/ilert/resource_connector.go @@ -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": { From 9b9f2ed6e451c579faf295dbb6e68c638770df1f Mon Sep 17 00:00:00 2001 From: Marko Simon Date: Wed, 24 Jul 2024 16:11:05 +0200 Subject: [PATCH 2/3] edit changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 517e9ec..4da5ef6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 24.07.2024, Version 2.8.6 + +- fix/microsoft-teams-webhook-validation [#89](https://github.com/iLert/terraform-provider-ilert/pull/89) + ## 19.07.2024, Version 2.8.5 - Add microsoft_teams_webhook to alert actions [#89](https://github.com/iLert/terraform-provider-ilert/pull/89) From 9fc5d86820efd6aa821674f290187043e73eac31 Mon Sep 17 00:00:00 2001 From: Marko Simon Date: Wed, 24 Jul 2024 16:14:29 +0200 Subject: [PATCH 3/3] fix changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da5ef6..73469e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## 24.07.2024, Version 2.8.6 -- fix/microsoft-teams-webhook-validation [#89](https://github.com/iLert/terraform-provider-ilert/pull/89) +- fix/microsoft-teams-webhook-validation [#90](https://github.com/iLert/terraform-provider-ilert/pull/90) ## 19.07.2024, Version 2.8.5