cloudera.cloud.df_customflow module – Import or Delete CustomFlows into the DataFlow Catalog
Note
This module is part of the cloudera.cloud collection (version 2.5.1).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install cloudera.cloud
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cloudera.cloud.df_customflow
.
Synopsis
Import or Delete CustomFlows into the DataFlow Catalog
Requirements
The below requirements are needed on the host that executes this module.
cdpy
Parameters
Parameter |
Comments |
---|---|
Specify the Cloudera Data Platform endpoint region. Default: |
|
Comments associated to the initial version of the CustomFlow. Default: |
|
Capture the CDP SDK debug log. Choices:
|
|
The description of the CustomFlow. Default: |
|
The JSON file containing the CustomFlow definition to be imported. Default: |
|
The name of the CustomFlow to be acted upon. |
|
If provided, the CDP SDK will use this value as its profile. |
|
The declarative state of the CustomFlow Choices:
|
|
Verify the TLS certificates for the CDP endpoint. Choices:
|
Examples
# Import a CustomFlow into the DataFlow Catalog
- cloudera.cloud.df_customflow:
name: my-customflow-name
file: /tmp/my-custom-flow.json
description: My sample CDF flow
comments: Initial version
# Delete a CustomFlow from the DataFlow Catalog
- cloudera.cloud.df_customflow:
name: my-customflow-name
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The CustomFlow Definition Returned: when supported |
|
The timestamp the entry was created. Returned: always |
|
The DataFlow CustomFlow’s CRN. Use this crn to address this object Returned: always |
|
The timestamp the entry was last modified. Returned: always |
|
The DataFlow CustomFlow’s name. Returned: always |
|
Number of versions contained in this CustomFlow. Returned: always |
|
The list of artifactDetail versions. Returned: always |
|
The author of the artifact. Returned: always |
|
The bucketIdentifier of the flow. Returned: always |
|
The artifact version CRN. Returned: always |
|
The number of deployments of the artifact. Returned: always |
|
The timestamp of the artifact. Returned: always |
|
The version of the artifact. Returned: always |