Skip to content

mixpanel_workspace (Resource)

Manages a Mixpanel workspace — an isolated view within a project that organizes reports and controls which team members can access specific analytics content.

Example Usage

resource "mixpanel_workspace" "marketing" {
  name        = "Marketing"
  description = "Workspace for the marketing analytics team"

  is_restricted = true
  is_visible    = true
}

Schema

Required

  • is_restricted (Boolean)
  • is_visible (Boolean)
  • name (String)

Optional

  • description (String)
  • workspace_id (Number)

Read-Only

  • created_iso (String)
  • creator_id (Number)
  • creator_name (String)
  • has_all_org_members (Boolean)
  • id (Number) The ID of this resource.
  • is_default (Boolean)
  • is_global (Boolean)
  • member_list (Attributes List)
  • membership_approval_required (Boolean)
  • onboarding_dashboard_id (Number)
  • project_id (Number)
  • requesting_user_orgs (List of String)
  • requesting_user_teams (List of String)
  • team_list (Attributes List)
  • unified_member_list (Attributes List)

Import

Import using the composite identifier project_id:<id>:

import {
  to = mixpanel_workspace.marketing
  id = "1234567:9876543"
}