library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Attach Compute Disk to Instance

This pipeline is used to attach a disk to an instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.attach_compute_disk_to_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.attach_compute_disk_to_instance
args = {
project_id = <string>
instance_name = <string>
disk_name = <string>
zone = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
instance_namestringYesThe GCP instance name.-
disk_namestringYesThe GCP disk name.-
zonestringYesThe GCP zone.-

Outputs

NameDescription
instanceInformation about the GCP instance.

Tags

type = featured