| Name | Version |
|---|---|
| portainer | n/a |
| Name | Type |
|---|---|
| portainer_webhook.stack | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| endpoint_id | Portainer environment/endpoint ID | number |
1 |
no |
| portainer_api_key | Default Portainer Admin API Key | string |
n/a | yes |
| portainer_url | Default Portainer URL | string |
n/a | yes |
| resource_id | ID of the resource (e.g., stack ID or registry ID) | string |
"3" |
no |
| webhook_type | Type of the webhook: 0 = Stack, 1 = Registry | number |
1 |
no |
| Name | Description |
|---|---|
| webhook_token | n/a |