library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Compute Engine Snapshot

This pipeline creates snapshot of persistent disk. Snapshots are useful for backing up persistent disk data and for creating custom images.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.create_compute_snapshot \
--arg 'project_id=<string>' \
--arg 'source_disk_zone=<string>' \
--arg 'source_disk_name=<string>' \
--arg 'snapshot_name=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.create_compute_snapshot
args = {
project_id = <string>
source_disk_zone = <string>
source_disk_name = <string>
snapshot_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
source_disk_zonestringYesThe GCP zone.-
source_disk_namestringYesThe GCP instance name.-
snapshot_namestringYesThe name of the snapshot to be created.-

Outputs

NameDescription
snapshotInformation about the GCP Compute Engine snapshot.