Skip to content

mixpanel_canvas (Resource)

Manages a Mixpanel canvas (mixpanel_canvas) — a metric visualization workspace that organizes related metrics into a structured view.

Example Usage

resource "mixpanel_canvas" "kpis" {
  project_id = 1234567
  name        = "Core Product KPIs"
  description = "Key metrics for product health"
}

Schema

Required

  • name (String)

Optional

  • description (String)
  • metric_tree_id (String)
  • project_id (Number)

Read-Only

  • content_type (String)
  • created (String)
  • creator_email (String)
  • creator_id (Number)
  • creator_name (String)
  • id (String) The ID of this resource.
  • is_favorited (Boolean)
  • last_modified_by_email (String)
  • last_modified_by_id (Number)
  • last_modified_by_name (String)
  • modified (String)
  • pinned_date (String)
  • room_id (String)

Import

Canvases are imported using the composite identifier project_id:<id> (everything before the first : is the project id):

import {
  to = mixpanel_canvas.kpis
  id = "1234567:abc123"
}
terraform import mixpanel_canvas.kpis '1234567:abc123'