library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
conn
connection.gcp
YesName of GCP connection to use. If not provided, the default GCP connection will be used.connection.gcp.default
project_id
string
YesThe GCP project ID.-
zone
string
YesThe GCP zone.-
machine_type
string
YesThe GCP machine type.-
instance_name
string
YesThe GCP instance name.-
boot_disk_size
string
YesThe GCP boot disk size.-
confidential_compute_type
string
NoThe GCP confidential compute type.-
maintenance_policy
string
NoThe GCP maintenance policy.-

Outputs

NameDescription
instanceInformation about the created instance.