⚠️ Experimental — Reads a single Guild notification channel by id. Respects provider workspace_id for workspace scoping.
# When to use: Resolve a notification channel UUID (e.g. from another stack)
# before wiring it into sg_agent_schedule or sg_webhook.
data "sg_notification_channel" "oncall" {
id = "00000000-0000-4000-8000-000000000020"
}
output "oncall_channel_type" {
value = data.sg_notification_channel.oncall.type
}
id (String) Notification channel UUID to look up.channel_id (String) Slack channel ID used for delivery.channel_name (String) Optional Slack channel display name.created_at (String) Creation timestamp (RFC 3339).created_by (String) User UUID that created the channel.emails (List of String) Recipient emails for email channels.enabled (Boolean) Whether the channel is active.event_scope (String) Deprecated Slack routing scope; ignored for delivery. Use channel_id instead.name (String) Human-readable channel name.secret_set (Boolean) Whether a write-only webhook Bearer token is stored; the secret itself is never returned.type (String) Delivery type (email, slack, or webhook).updated_at (String) Last modification timestamp (RFC 3339).updated_by (String) User UUID that last modified the channel.url (String) HTTPS webhook destination URL.