launchdarkly_project – Create Project

New in version 0.1.0.

Synopsis

  • Manage LaunchDarkly Projects.

Parameters

Parameter Choices/Defaults Comments
api_key
string / required
LaunchDarkly API Key. May be set as LAUNCHDARKLY_ACCESS_TOKEN environment variable.
environments
string
A list of Environments to create. Cannot be updated with this resource.
include_in_snippet_by_default
boolean
    Choices:
  • no
  • yes
Whether or not all flags in project should be made available to the client-side JavaScript SDK.
name
string
Display name for the environment.
project_key
string / required
Default:
"default"
Project key will group flags together.
state
string
    Choices:
  • absent
  • present ←
Indicate desired state of the resource.
tags
string
An array of tags for this project.

Examples

# Create a new LaunchDarkly Project with tags
- launchdarkly_project:
    state: present
    project_key: test-project-1
    color: C9C9C9
    tags:
      - dev
      - ops
      - frontend

Return Values

Common return values are documented here, the following are the fields unique to this :

Key Returned Description
project
dictionary
on success
Dictionary containing a Project



Status

  • This is not guaranteed to have a backwards compatible interface. [preview]

  • This is maintained by the Ansible Community. [community]

Hint

If you notice any issues in this documentation, you can edit this document to improve it.

Hint

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.