Skip to content

A Terraform Provider for LaunchDarkly feature flags

License

Notifications You must be signed in to change notification settings

coveooss/terraform-provider-launchdarkly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status license

A Terraform provider for LaunchDarkly feature flags

This provider allows creating Projects, Environments and Feature Flags in LaunchDarkly.

Getting Started

Installation

Download the appropriate binary from the GitHub release, and install it on your local computer as described here.

Sample usage

Have a look at the main.tf file for a sample configuration using the provider.

Importing resources

Using the command import you need to follow this syntax.

For resources environment and feature_flag : You need 2 values in the resource import ID separated by : .

The project key and the resource key. e.g.: import launchdarkly_environment.my-env critical-updates-dev:dev

For the project resource you only need the project key. e.g.: import launchdarkly_project.my-project critical-updates-dev

Building the provider

Clone the repository, and run make at the root of the working copy.

Testing the provider

run make test at the root of the working copy.