terraform-provider-stackgen

sg_chat_channel_rules (Data Source)

⚠️ Experimental — Lists Guild chat channel auto-enroll rules for the organization.

Example Usage

# When to use: List auto-enroll rules (optionally filter by slack/teams).
data "sg_chat_channel_rules" "slack" {
  chat_provider = "slack"
}

output "rule_ids" {
  value = [for r in data.sg_chat_channel_rules.slack.rules : r.id]
}

Schema

Optional

Read-Only

Nested Schema for rules

Read-Only: