diff --git a/website/docs/r/organization_webhook.html.markdown b/website/docs/r/organization_webhook.html.markdown index ffc66635b3..dc3ffb6112 100644 --- a/website/docs/r/organization_webhook.html.markdown +++ b/website/docs/r/organization_webhook.html.markdown @@ -14,6 +14,8 @@ This resource allows you to create and manage webhooks for GitHub organization. ```hcl resource "github_organization_webhook" "foo" { + name = "web" + configuration { url = "https://google.de/" content_type = "form" @@ -36,6 +38,8 @@ The following arguments are supported: * `active` - (Optional) Indicate of the webhook should receive events. Defaults to `true`. +* `name` - (Optional) The type of the webhook. `web` is the default and the only option. + ## Attributes Reference The following additional attributes are exported: diff --git a/website/docs/r/repository_webhook.html.markdown b/website/docs/r/repository_webhook.html.markdown index fbada58a6f..1f400a536d 100644 --- a/website/docs/r/repository_webhook.html.markdown +++ b/website/docs/r/repository_webhook.html.markdown @@ -28,6 +28,8 @@ resource "github_repository" "repo" { resource "github_repository_webhook" "foo" { repository = "${github_repository.repo.name}" + name = "web" + configuration { url = "https://google.de/" content_type = "form" @@ -52,6 +54,8 @@ The following arguments are supported: * `active` - (Optional) Indicate of the webhook should receive events. Defaults to `true`. +* `name` - (Optional) The type of the webhook. `web` is the default and the only option. + ## Attributes Reference The following additional attributes are exported: