terraform-provider-stackgen

sg_chat_subscriptions (Data Source)

⚠️ Experimental — Lists Guild chat subscriptions for the organization.

Example Usage

# When to use: List chat subscriptions (filter by app_name or enabled_only).
data "sg_chat_subscriptions" "enabled" {
  enabled_only = true
}

output "subscription_names" {
  value = [for s in data.sg_chat_subscriptions.enabled.subscriptions : s.name]
}

Schema

Optional

Read-Only

Nested Schema for subscriptions

Read-Only:

Nested Schema for subscriptions.channel_selector

Optional: