Skip to content

mixpanel_rollup_project (Resource)

Manages a Mixpanel Rollup Project (mixpanel_rollup_project) — an organization-scoped project that aggregates event data from multiple datasets. Rollup projects enable cross-region or cross-environment analytics by combining data from separate source projects.

Example Usage

resource "mixpanel_rollup_project" "all_regions" {
  org_id = 1234567
  name   = "All Regions Rollup"

  dataset_ids = [
    "dataset_us",
    "dataset_eu",
  ]
}

Schema

Optional

  • dataset_ids (List of String)
  • name (String)
  • org_id (Number)
  • rollup_project_id (Number)

Read-Only

  • datasets (Attributes Map)
  • rollup_projects (Attributes Map)

Import

Import a rollup project using its ID directly (rollup projects are organization-scoped and do not require a project_id prefix):

import {
  to = mixpanel_rollup_project.all_regions
  id = "33914"
}
terraform import mixpanel_rollup_project.all_regions 33914