Launched: Terraform Provider for LaunchDarkly
We are pleased to announce the launch of our official LaunchDarkly Terraform provider. This allows development teams to create and manage LaunchDarkly resources such as projects, environments, feature flags, and more by using Terraform's declarative configuration language.
About Terraform providers
Terraform by HashiCorp is an open-source tool for managing cloud infrastructure and resources using a high-level configuration syntax. Many of LaunchDarkly's customers enjoy the benefits of Terraform's "infrastructure as code" paradigm to provision version-controlled, reproducible cloud resources by leveraging official providers from AWS, Cloudflare, PagerDuty, Github, and many more. LaunchDarkly plays a vital role in helping these teams manage their infrastructure. With this Terraform provider, teams can begin configuring LaunchDarkly resources right alongside the rest of their infrastructure stack.
Benefits of LaunchDarkly's Terraform provider
Our Terraform provider empowers teams to simplify the process of managing LaunchDarkly resources. Here are a few example use cases:
- Rapidly provision environments for a new project with a set of commonly used permanent feature flags
- Open a pull request to modify user segment groups and let Terraform Cloud apply the changes
- Keep flag definitions in the same repository as application code, making flags cleanup a breeze
- Easily sync complex targeting rules for all flags across several environments
- Create and apply complex custom roles across your organization
The goal of this provider is not to make you choose between using the LaunchDarkly user interface (UI) or the Terraform provider. Instead, we encourage you to identify tasks that can be automated and standardized by using the Terraform provider and then use the LaunchDarkly web application for everything else.
Bonus suggestion:Bonus suggestion: You can tag Terraform-managed resources with a tag and use custom roles to prevent team members from modifying those resources via the LaunchDarkly UI.
How to get started with the Terraform provider
To get started with LaunchDarkly's Terraform provider, check out our documentation. We are excited to learn about how you are using Terraform for LaunchDarkly and are committed to making your experience a good one. If you have any questions or comments, please reach out to firstname.lastname@example.org.
For examples showcasing the benefits of LaunchDarkly's Terraform provider, read our in-depth "Managing Feature Flags with Terraform" post.