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 'source_disk_name=<string>' \
--arg 'snapshot_name=<string>' \
--arg 'project_id=<string>' \
--arg 'source_disk_zone=<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 = {
source_disk_name = <string>
snapshot_name = <string>
project_id = <string>
source_disk_zone = <string>
}
}

Params

NameTypeRequiredDefaultDescription
source_disk_namestringYes-The GCP instance name.
snapshot_namestringYes-The name of the snapshot to be created.
credstringYesdefaultThe GCP application credentials file path.
project_idstringYes-The GCP project ID.
source_disk_zonestringYes-The GCP zone.

Outputs

NameDescription
snapshotInformation about the GCP Compute Engine snapshot.