Skip to content

Commit

Permalink
Adds name attribute back to docs. (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
tracypholmes authored Jun 29, 2019
1 parent 018faee commit bbc2ed0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/r/organization_webhook.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions website/docs/r/repository_webhook.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit bbc2ed0

Please sign in to comment.