⚠️ Experimental — This resource is part of the Guild platform and may change in future releases.
Manages a guild-level platform configuration (Slack, Teams, Google Chat, Telegram, WhatsApp, AG-UI). Platforms are configured at the guild level and can be referenced by agents. Import using the platform name.
# When to use: Enable a chat platform shell (Slack, Teams) so chat channels,
# subscriptions, and Slack notification channels can deliver. Provide credentials in a Vault secret
# and pass its name via vault_secret; direct bot/app/signing token attributes are not supported.
#
# Related: sg_chat_channel, sg_chat_subscription, sg_notification_channel (type=slack).
resource "sg_guild_platform" "example" {
name = "slack"
# For real Slack: vault_secret = "your-slack-vault-secret"
}
Import an existing sg_guild_platform using its platform name:
terraform import sg_guild_platform.example 'example-slack'
Create the Vault secret before configuring vault_secret. Platform credential references are sensitive; secure Terraform state and plans.
name (String) Platform identifier (e.g. slack or teams or googlechat or telegram or whatsapp or agui).app_id (String) Application ID (Teams).cors_origins (String) Comma-separated list of allowed CORS origins (AG-UI).port (String) HTTP listen port for the AG-UI server.project_num (String) Google Cloud project number (Google Chat).vault_secret (String, Sensitive) Name of the Vault secret containing platform credentials (bot_token and app_token and signing_secret and app_password and verify_token etc.).