library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Delete Compute Disk

This pipeline deletes a Compute Engine disk. A disk can be deleted only if it is not attached to any virtual machine instances.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.delete_compute_disk \
--arg 'project_id=<string>' \
--arg 'disk_name=<string>' \
--arg 'zone=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.delete_compute_disk
args = {
project_id = <string>
disk_name = <string>
zone = <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.-
disk_name
string
YesThe GCP disk name.-
zone
string
YesThe GCP zone.-

Outputs

This pipeline has no outputs.