From e1f5feb680d80d23367040f6c0362efa0952024a Mon Sep 17 00:00:00 2001 From: Ettore Foti <63098482+EttoreFoti@users.noreply.github.com> Date: Tue, 26 Mar 2024 00:12:30 +0100 Subject: [PATCH] chore(organization_webhook): fix insecure_ssl (#2196) Co-authored-by: Keegan Campbell --- github/resource_github_organization_webhook.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/github/resource_github_organization_webhook.go b/github/resource_github_organization_webhook.go index dcbbb41ce6..896b73ebbf 100644 --- a/github/resource_github_organization_webhook.go +++ b/github/resource_github_organization_webhook.go @@ -98,6 +98,9 @@ func resourceGithubOrganizationWebhookCreate(d *schema.ResourceData, meta interf if hook.Config["secret"] != nil { hook.Config["secret"] = webhookObj.Config["secret"] } + + hook.Config = insecureSslStringToBool(hook.Config) + if err = d.Set("configuration", []interface{}{hook.Config}); err != nil { return err }