devhelm_alert_channel resource creates and manages alert channel integrations in Terraform.
Basic example
Arguments
| Attribute | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Channel display name (also used as import ID) |
channel_type | string | Yes | slack, email, pagerduty, opsgenie, discord, teams, webhook |
webhook_url | string | — | Webhook URL (required for slack, discord, teams) |
mention_text | string | — | Slack mention text (e.g., @channel) |
mention_role_id | string | — | Discord role ID to mention |
recipients | list(string) | — | Email addresses (required for email) |
routing_key | string | — | PagerDuty Events API v2 routing key (sensitive) |
severity_override | string | — | PagerDuty severity override |
api_key | string | — | OpsGenie API key (sensitive) |
region | string | — | OpsGenie region (us or eu) |
url | string | — | Endpoint URL (required for webhook) |
custom_headers | map(string) | — | Custom HTTP headers for webhook delivery |
signing_secret | string | — | HMAC signing secret for webhook payloads (sensitive) |
Computed attributes
| Attribute | Description |
|---|---|
id | Channel ID |
config_hash | Content hash of the channel configuration |
Examples by type
Import
Next steps
Monitors
Reference channels from monitor resources.
Integrations
Setup guides for each channel type.