library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add Labels to Compute Image

This pipeline adds labels to a Google Compute Engine virtual machine image.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_compute_image \
--arg 'project_id=<string>' \
--arg 'image_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_compute_image
args = {
project_id = <string>
image_name = <string>
labels = <map(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
image_namestringYesThe GCP image name.-
labelsmap(string)YesThe GCP labels.-

Outputs

NameDescription
imageInformation about the GCP compute image.