library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add Labels to Compute Disk

This pipeline adds labels to a Google Compute Engine persistent disk.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_compute_disk \
--arg 'project_id=<string>' \
--arg 'zone=<string>' \
--arg 'disk_name=<string>' \
--arg 'labels=<map of string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.add_labels_to_compute_disk
args = {
project_id = <string>
zone = <string>
disk_name = <string>
labels = <map of string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
zonestringYesThe GCP zone.-
disk_namestringYesThe GCP disk name.-
labelsmap of stringYesThe GCP labels.-

Outputs

NameDescription
diskInformation about the created disk.