library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add Labels to Compute Instance

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

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_compute_instance \
--arg 'instance_name=<string>' \
--arg 'labels=<map of string>' \
--arg 'project_id=<string>' \
--arg 'zone=<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_instance
args = {
instance_name = <string>
labels = <map of string>
project_id = <string>
zone = <string>
}
}

Params

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

Outputs

NameDescription
instanceInformation about the GCP compute instance.