launchdarkly_project_copy – Copy source LaunchDarkly Project in or between accounts.

New in version 0.2.2.

Synopsis

  • Copy source LaunchDarkly Project in or between accounts. This can be used to make a clone of an existing project.

Parameters

Parameter Choices/Defaults Comments
api_key
string / required
LaunchDarkly API Source Key. May be set as LAUNCHDARKLY_ACCESS_TOKEN environment variable.
api_key_dest
string / required
LaunchDarkly API Destination Key.
environments_copy
-
Default:
"yes"
Bool flag to determine whether to copy source environments to the new project.
flag_tag
string
Copy only flags which have the specified tag
project_key
string
Default:
"default"
Project key source
project_key_dest
string / required
Project key destination

Examples

# Sync a LaunchDarkly Project
- launchdarkly_project_copy:
    api_key: api-12345
    api_key_dest: api-54321
    project_key: dev
    project_key_dest: new-dev

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.