Pulumi

Pulumi

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Pulumi to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Pulumi Cloud access token and organization name to pull your infrastructure-as-code data into the PostHog Data warehouse.

Create a personal access token from your Pulumi Cloud access tokens page, or an organization access token from your organization's settings. The token inherits its owner's access, so no extra scopes are required.

The organization name is the one shown in your Pulumi Cloud console URL (app.pulumi.com/<organization>). Audit logs additionally require a Pulumi Cloud plan with audit logs enabled.

Configuration

OptionTypeRequired
Access tokenpasswordYes
OrganizationtextYes

Linking Pulumi to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Pulumi
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
stacks

One row per stack the token can access in the organization, with its last update time and resource count

Full refresh
stack_updates

The full update/preview/refresh/destroy history of every stack, with outcomes, timings, and resource change counts

Incremental, Full refreshstartTime
deployments

Pulumi Deployments runs across the organization, with status, operation, and job details. Empty unless the organization uses Pulumi Deployments

Full refresh
audit_logs

Organization audit log events (who did what, when, from where). Requires a Pulumi Cloud plan with audit logs enabled

Incremental, Full refreshtimestamp
resources

Every resource in the organization's Pulumi Insights resource index, one row per resource

Full refresh