GitOps Feature Flags with Flagsmith and Terrateam

Manage your feature flags as code in your Git workflows and update flags via pull requests with full traceability, familiar processes, and quick rollbacks.

GitOps for Feature Flags with Flagsmith

Control your feature flags using your existing Git processes. Write flag configurations as code using Terraform and update them via pull requests. Every change is tracked, approved, and applied automatically, empowering your team with full visibility and control.

Code
PR
Update

How It Works

Define Your Flag

Write your feature flag configuration in Terraform:

resource "flagsmith_feature" "new_mv_feature"
  feature_name = "new_mv_feature"
  project_uuid = "10421b1f-5f29-4da9-abe2-30f88c07c9e8"
  description  = "This is a new multivariate feature"
  type         = "MULTIVARIATE"
}
                

Submit Pull Request

Add your configuration to the repository and open a pull request. Your team reviews the change, and automated tests validate the update.

Automatic Update

Once the pull request is merged, Terrateam detects the change and updates Flagsmith automatically.

GitOps in Action

See how Terrateam integrates with Flagsmith in a real pull request plan.

Screenshot of Flagsmith pull request integration

Benefits

Full Traceability

Every change is recorded with details on who made it and when.

Familiar Workflow

Manage infrastructure, application code, and feature flags in one place.

Quick Rollbacks

Easily revert changes by reverting the pull request.

Quickstart Guide

1

Sign Up for Flagsmith

Create your account at Flagsmith and get your API key.

2

Configure Repository

Set up a repository for your feature flag configurations and add your Flagsmith API key to GitHub Secrets.

3

Install Terrateam

Connect Terrateam to your repository so it can monitor pull requests and apply changes.

4

Create Pull Request

Use the Terraform sample as a guide to define a new feature flag, then submit a pull request for review and merge.