library
turbot/gcp
Get Involved
Version
Pipeline: Add or Update Labels on Dataproc Cluster
This pipeline adds or updates labels on a Google Cloud Dataproc cluster.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.add_labels_to_dataproc_cluster \ --arg 'project_id=<string>' \ --arg 'region=<string>' \ --arg 'cluster_name=<string>' \ --arg 'labels=<map(string)>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.add_labels_to_dataproc_cluster args = { project_id = <string> region = <string> cluster_name = <string> labels = <map(string)> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
region | string | Yes | The GCP region where the Dataproc cluster is located. | - |
cluster_name | string | Yes | The name of the Dataproc cluster. | - |
labels | map(string) | Yes | The GCP labels to add or update. | - |
Outputs
Name | Description |
---|---|
cluster | Information about the Dataproc cluster. |