Skip to Content
Uptimeify Docs
Datenquellen

uptimeify_im_chat_workspace

Datenquelle uptimeify_im_chat_workspace: Beispiel, alle Attribute.

Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.

Look up a chat workspace connected to the organization, to set workspace_id of a slack_app uptimeify_im_outbound_integration without hard-coding it. Set external_team_id, name or both; every attribute set must match. Fails when no or several workspaces match. Connecting a workspace needs the Slack OAuth flow in the Uptimeify UI and cannot be done with Terraform. The bot token is never returned.

Beispiel

# The workspace is connected once in the Uptimeify UI (Slack OAuth); Terraform looks it up.
data "uptimeify_im_chat_workspace" "ops" {
  external_team_id = "T024BE7LD"
}

resource "uptimeify_im_outbound_integration" "slack_card" {
  name         = "Slack incident cards"
  type         = "slack_app"
  workspace_id = data.uptimeify_im_chat_workspace.ops.id
  channel_id   = "C024BE91L"
}

Schema

Optional

  • external_team_id (String) Slack team id of the workspace (starts with T). Unique: a Slack workspace belongs to one organization only.
  • name (String) Workspace name as Slack reported it when the workspace was connected; not updated by a later rename in Slack.
  • platform (String) Chat platform. Only slack exists; it is the default.

Nur lesbar

  • created_at (String) When the workspace was connected.
  • id (String) Numeric workspace id; use it as workspace_id.

Auf dieser Seite