In Terraform's GitHub provider, the github_organization_webhook resource is designed to manage webhooks at the organization level within GitHub. However, unlike its counterpart github_repository_webhook, which includes a field for specifying the repository name, the github_organization_webhook resource does not have an explicit field to define the organization name.
Issue Details
When configuring the github_organization_webhook resource, users are expected to define various attributes such as the webhook URL, events to listen for, and security settings. A typical configuration might look like this:
The Problem
The issue arises because the github_organization_webhook resource does not include a field to specify which organization the webhook should be created for. This contrasts with the github_repository_webhook resource, where you can explicitly set the repository name:
Describe the need
In Terraform's GitHub provider, the
github_organization_webhook
resource is designed to manage webhooks at the organization level within GitHub. However, unlike its counterpartgithub_repository_webhook
, which includes a field for specifying the repository name, thegithub_organization_webhook
resource does not have an explicit field to define the organization name.Issue Details When configuring the
github_organization_webhook
resource, users are expected to define various attributes such as the webhook URL, events to listen for, and security settings. A typical configuration might look like this:The Problem The issue arises because the
github_organization_webhook
resource does not include a field to specify which organization the webhook should be created for. This contrasts with thegithub_repository_webhook
resource, where you can explicitly set the repository name:SDK Version
No response
API Version
No response
Relevant log output
No response
Code of Conduct