terraform-provider-stackgen

sg_guild_platform (Resource)

⚠️ 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.

Example Usage

# 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

Import an existing sg_guild_platform using its platform name:

terraform import sg_guild_platform.example 'example-slack'

Operational notes

Create the Vault secret before configuring vault_secret. Platform credential references are sensitive; secure Terraform state and plans.

Schema

Required

Optional