library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
region
string
YesThe GCP region where the Dataproc cluster is located.-
cluster_name
string
YesThe name of the Dataproc cluster.-
labels
map(string)
YesThe GCP labels to add or update.-

Outputs

NameDescription
clusterInformation about the Dataproc cluster.