This resource allows you to create and manage webhooks for Github organization.
resource "github_organization_webhook" "foo" { name = "web" configuration { url = "https://google.de/" content_type = "form" insecure_ssl = false } active = false events = ["issues"] }
The following arguments are supported:
name
- (Required) The type of the webhook. See a list of available hooks.
events
- (Required) A list of events which should trigger the webhook. See a list of available events
configuration
- (Required) key/value pair of configuration for this webhook. Available keys are url
, content_type
, secret
and insecure_ssl
.
active
- (Optional) Indicate of the webhook should receive events. Defaults to true
.
The following additional attributes are exported:
url
- URL of the webhook
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/github/r/organization_webhook.html