Skip to main content

Configuration for pulumi-posthog.

npm package pulumi-posthog version 1.0.14. Pulumi bridge terraform-provider version 1.4.0. Upstream provider registry.terraform.io/posthog/posthog version 1.0.22.

An explicit provider is new posthog.Provider(name, args). Stack configuration is a pulumi.Config object named posthog.

A value marked secret is passed through pulumi.secret or listed in additionalSecretOutputs on the provider resource.

Fields#

PropertyTypeSourceSecretDescription
apiKeystringprovider args; stack config via config.getyesPostHog personal API key. Can be set via POSTHOG_API_KEY environment variable.
hoststringprovider args; stack config via config.getnoBase URL for the PostHog API. Defaults to https://us.posthog.com. Can be set via POSTHOG_HOST
organizationIdstringprovider args; stack config via config.getnoDefault organization to target. Accepts an organization UUID, an organization slug, or the literal @current (the authenticated user’s organization). Slugs and @current are resolved to a UUID for API calls. Can be set via POSTHOG_ORGANIZATION_ID environment variable.
projectIdstringprovider args; stack config via config.getnoDefault project ID (environment) to target. Can be set via POSTHOG_PROJECT_ID environment variable.