library
turbot/gcp
Get Involved
Version
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
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. | - |
zone | string | Yes | The GCP zone. | - |
machine_type | string | Yes | The GCP machine type. | - |
instance_name | string | Yes | The GCP instance name. | - |
boot_disk_size | string | Yes | The GCP boot disk size. | - |
confidential_compute_type | string | No | The GCP confidential compute type. | - |
maintenance_policy | string | No | The GCP maintenance policy. | - |
Outputs
Name | Description |
---|---|
instance | Information about the created instance. |