library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
source_disk_zone
string
YesThe GCP zone.-
source_disk_name
string
YesThe GCP instance name.-
snapshot_name
string
YesThe name of the snapshot to be created.-

Outputs

NameDescription
snapshotInformation about the GCP Compute Engine snapshot.