library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Create Compute Instance

This pipeline facilitates the creation of Compute Engine virtual machines.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.create_compute_instance \
--arg 'project_id=<string>' \
--arg 'zone=<string>' \
--arg 'machine_type=<string>' \
--arg 'instance_name=<string>' \
--arg 'boot_disk_size=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.create_compute_instance
args = {
project_id = <string>
zone = <string>
machine_type = <string>
instance_name = <string>
boot_disk_size = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
zonestringYesThe GCP zone.-
machine_typestringYesThe GCP machine type.-
instance_namestringYesThe GCP instance name.-
boot_disk_sizestringYesThe GCP boot disk size.-
confidential_compute_typestringNoThe GCP confidential compute type.-
maintenance_policystringNoThe GCP maintenance policy.-

Outputs

NameDescription
instanceInformation about the created instance.