library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update Labels on Storage Bucket

This pipeline updates labels on a Google Cloud Storage bucket using gcloud.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_storage_bucket \
--arg 'project_id=<string>' \
--arg 'bucket_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_storage_bucket
args = {
project_id = <string>
bucket_name = <string>
labels = <map(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP credential.default
project_idstringYesThe GCP project ID.-
bucket_namestringYesThe GCP storage bucket name.-
labelsmap(string)YesThe GCP labels to update.-

Outputs

This pipeline has no outputs.