Closed gm-hyp-2 closed 5 months ago
One additional comment - if I remove the key insecure_ssl
and let the provider use the default, it still produces the same behavior.
My guess is this is related to #2133 in which we're checking and returning an error that was previously ignored. This could be a good first issue for a new contributor to handle.
Expected Behavior
When creating this resource:
This should create a new webhook, as described in the documentation: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_webhook#configuration
Actual Behavior
TF throws an error:
The problem is that we web hook actually gets created:
So the next execution will delete and recreate the resource.
Additionally, the same resource type that was created with v5.x of the provider works just fine. The bug affects only the creation of a new webhook.
Terraform Version
Terraform 1.7.2 on linux_amd64 Affected versions: v6.0.0.0-rc2 (I have tested the creation of a new webhook only on this one)
Affected Resource(s)
github_organization_webhook
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct