library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Compute Disk

This pipeline creates Compute Engine persistent disk.

Run the pipeline

To run this pipeline from your terminal:

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

Params

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

Outputs

NameDescription
diskInformation about the created disk.