For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • Integrations
    • Collaboration tools
    • Data Export
    • Edge tools
    • Environments as a service
    • Experimentation and metric integrations
    • Internal developer platforms
    • Monitoring tools
    • Segments integrations
    • Workflow management tools
    • More integrations
      • Ansible Collection
      • AWS CloudTrail Lake
      • AWS PrivateLink
      • Bitbucket Pipelines
      • Bitrise Release Management
      • CloudQuery
      • Contentful
      • Convex
      • Crossplane
      • Ditto
      • FullStory
      • GitHub Actions
      • Kosli
      • ngrok
      • Osano
      • Terraform
        • Terraform provider v1.x to v2.0 migration guide
      • Zendesk
    • Managing integrations
    • Using the LaunchDarkly integration framework
    • Building partner integrations
Sign inTry it free
LogoLogo
On this page
  • Overview
  • Use the Terraform provider
IntegrationsMore integrations

Terraform

Was this page helpful?
Previous

Terraform provider v1.x to v2 migration guide

Next
Built with
The Terraform provider is available to customers on select plans

The Terraform provider is only available to customers on select plans. To learn more, read about our pricing. To upgrade your plan, contact Sales.

Overview

This topic explains what the LaunchDarkly Terraform provider is, what you can use it for, and where to find additional documentation for it.

Use the LaunchDarkly Terraform provider to manage LaunchDarkly resources as Terraform resources. This allows you to use Terraform scripts to configure and control feature flags, environments, projects, teams, and more.

You do not have to choose between the LaunchDarkly user interface (UI) and the Terraform provider. You can use a hybrid of both if that meets your needs better. It may make sense to manage one set of LaunchDarkly resources through the Terraform provider, and another set through the UI. For example, you could designate a group of flags to update and configure only through the Terraform provider.

The Terraform provider and roles

A common scenario is to use roles to define the LaunchDarkly entities that are managed by Terraform. For example, you can tag Terraform-managed resources with a terraform tag, and use role policies to prevent team members from modifying those resources with the LaunchDarkly UI.

To learn more, read Roles.

Use the Terraform provider

To learn more about using the Terraform provider, read the LaunchDarkly Terraform provider documentation hosted on Terraform’s site. Detailed examples of how to configure LaunchDarkly with the Terraform provider are available in the terraform-provider-launchdarkly repository.

For a guide on how to use Terraform to manage your LaunchDarkly resources, read Managing flags with Terraform.