This module creates following resources.
github_organization_webhook (optional)
github_repository_webhook (optional)
No modules.
| Name |
Description |
Type |
Default |
Required |
| url |
(Required) The URL of the webhook. |
string |
n/a |
yes |
| content_type |
(Optional) The content type for the webhook payload. Valid values are either FORM or JSON. |
string |
"JSON" |
no |
| enabled |
(Optional) Whether to activate the webhook should receive events. |
bool |
true |
no |
| events |
(Optional) A list of events which should trigger the webhook. Default is for only push event. |
set(string) |
[ "push" ] |
no |
| repositories |
(Optional) A list of repositories to create the webhook for. Create an organization-level webhook if you provide *. |
set(string) |
[ "*" ] |
no |
| secret |
(Optional) The shared secret for the webhook. |
string |
"" |
no |
| ssl_enabled |
(Optional) Whether to verify SSL certificates when delivering payloads. Default is true. |
bool |
true |
no |
| Name |
Description |
| content_type |
The content type of the webhook payload. |
| enabled |
Whether the webhook is enabled. |
| events |
A list of events which trigger the webhook. |
| repositories |
A list of repositories which the webhook is for. |
| ssl_enabled |
Whether SSL verification is enabled. |
| url |
The URL of the webhook. |