terraform-provider-stackgen

sg_notification_channel (Data Source)

⚠️ Experimental — Reads a single Guild notification channel by id. Respects provider workspace_id for workspace scoping.

Example Usage

# 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
}

Schema

Required

Read-Only