Skip to content

Commit

Permalink
Remove name from docs since it was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed May 2, 2019
1 parent 8f4c539 commit 1c207f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions website/docs/r/organization_webhook.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ 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"
Expand All @@ -32,8 +30,6 @@ resource "github_organization_webhook" "foo" {

The following arguments are supported:

* `name` - (Required) The type of the webhook. See a list of [available hooks](https://api.github.com/hooks).

* `events` - (Required) A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/)

* `configuration` - (Required) key/value pair of configuration for this webhook. Available keys are `url`, `content_type`, `secret` and `insecure_ssl`.
Expand Down
4 changes: 0 additions & 4 deletions website/docs/r/repository_webhook.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ resource "github_repository" "repo" {
resource "github_repository_webhook" "foo" {
repository = "${github_repository.repo.name}"
name = "web"
configuration {
url = "https://google.de/"
content_type = "form"
Expand All @@ -46,8 +44,6 @@ resource "github_repository_webhook" "foo" {

The following arguments are supported:

* `name` - (Required) The type of the webhook. `web` is the only option.

* `repository` - (Required) The repository of the webhook.

* `events` - (Required) A list of events which should trigger the webhook. See a list of [available events](https://developer.github.com/v3/activity/events/types/).
Expand Down

0 comments on commit 1c207f8

Please sign in to comment.