library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
credstringYesGCP credentials to usedefault
project_idstringYesThe GCP project ID.-
regionstringYesThe GCP region where the Dataproc cluster is located.-
cluster_namestringYesThe name of the Dataproc cluster.-
labelsmap(string)YesThe GCP labels to add or update.-

Outputs

NameDescription
clusterInformation about the Dataproc cluster.