Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coveooss/terraform-provider-launchdarkly
A Terraform Provider for LaunchDarkly feature flags
https://github.com/coveooss/terraform-provider-launchdarkly
Last synced: 3 months ago
JSON representation
A Terraform Provider for LaunchDarkly feature flags
- Host: GitHub
- URL: https://github.com/coveooss/terraform-provider-launchdarkly
- Owner: coveooss
- License: apache-2.0
- Created: 2018-07-23T15:04:26.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T17:01:16.000Z (5 months ago)
- Last Synced: 2024-03-30T07:37:36.462Z (3 months ago)
- Language: Go
- Size: 319 KB
- Stars: 4
- Watchers: 17
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-launchdarkly - coveo/launchdarkly-terraform-provider
README
[![Build Status](https://travis-ci.com/coveo/terraform-provider-launchdarkly.svg?branch=master)](https://travis-ci.com/coveo/terraform-provider-launchdarkly)
[![license](http://img.shields.io/badge/license-Apache-brightgreen.svg)](https://github.com/coveo/terraform-provider-launchdarkly/blob/master/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](https://www.terraform.io/docs/configuration/providers.html#third-party-plugins).
### 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.