library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Detach Compute Disk from Instance

This pipeline is used to detach disks from virtual machines.

Run the pipeline

To run this pipeline from your terminal:

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

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.detach_compute_disk_from_instance
args = {
disk_name = <string>
zone = <string>
project_id = <string>
instance_name = <string>
}
}

Params

NameTypeRequiredDefaultDescription
disk_namestringYes-The GCP disk name.
zonestringYes-The GCP zone.
credstringYesdefaultThe GCP application credentials file path.
project_idstringYes-The GCP project ID.
instance_namestringYes-The GCP instance name.

Outputs

NameDescription
instanceInformation about the instance.