library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add or Update Labels on Compute Snapshot

This pipeline adds or updates labels on a Google Compute Engine snapshot.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_compute_snapshot \
--arg 'project_id=<string>' \
--arg 'snapshot_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_snapshot
args = {
project_id = <string>
snapshot_name = <string>
labels = <map(string)>
}
}

Params

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

Outputs

NameDescription
snapshotInformation about the GCP compute snapshot.