Skip to main content
The Statsig Pulumi Provider allows you to configure your gates and experiments using Pulumi Infrastructure as Code. The provider synchronizes with Statsig via the Console API. If there is something you need to perform that isn’t supported by the Pulumi Provider, checkout the Console API.

Installation

The Statsig provider is available as a package in the following Pulumi languages:

Configuration

The provider needs to be configured with the proper credentials before it can be used. Configure your Pulumi.yaml file with your Console API key:

Configuration Reference

  • consoleApiKey (String) - The Statsig Console API key retrieved from Statsig console.

Example Usage

TypeScript

Python

Go

C#

Supported Features

We currently support the following Statsig configurations:
  • Gates
  • Experiments
Coming Soon:
  • Dynamic Configs
  • Segments
If you need more from our Pulumi Provider, please feel free to ask in the Statsig Slack channel.