library
turbot/gcp
Get Involved
Version
Pipeline: 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 'project_id=<string>' \ --arg 'instance_name=<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.detach_compute_disk_from_instance args = { project_id = <string> instance_name = <string> disk_name = <string> zone = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
instance_name | string | Yes | The GCP instance name. | - |
disk_name | string | Yes | The GCP disk name. | - |
zone | string | Yes | The GCP zone. | - |
Outputs
Name | Description |
---|---|
instance | Information about the instance. |