Github repo webhook
Requirements¶
| Name | Version |
|---|---|
| terraform | < 2 |
| github | < 7 |
| random | < 5 |
Providers¶
| Name | Version |
|---|---|
| github | < 7 |
| random | < 5 |
Modules¶
No modules.
Resources¶
| Name | Type |
|---|---|
| github_repository_webhook.this | resource |
| random_password.this | resource |
Inputs¶
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| content_type | The content type of the webhook | string |
"json" |
no |
| events | The events to trigger the webhook | list(string) |
[ |
no |
| repository | The repository to add the webhook to | string |
n/a | yes |
| secret_length | The length of the webhook secret string | number |
32 |
no |
| secret_phrase | The secret phrase to use for the webhook secret (default: auto-generated) | string |
"" |
no |
| special | Whether to include special characters in the secret | bool |
false |
no |
| webhook_url | The URL to send the webhook to | string |
n/a | yes |
Outputs¶
| Name | Description |
|---|---|
| secret_value | n/a |