library
turbot/gcp
Get Involved
Version
Pipeline: Update Compute Instance
This pipeline updates labels and requested CPU Platform for a Compute Engine virtual machine.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.update_compute_instance \ --arg 'project_id=<string>' \ --arg 'zone=<string>' \ --arg 'instance_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.update_compute_instance args = { project_id = <string> zone = <string> instance_name = <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. | - |
update_labels | map(string) | No | The GCP labels. | - |
remove_labels | list(string) | No | The GCP labels. | - |
instance_name | string | Yes | The GCP instance name. | - |
shielded_vtpm | bool | No | Enable Shielded vTPM. | - |
shielded_integrity_monitoring | bool | No | Enable Shielded VM Integrity Monitoring. | - |
Outputs
Name | Description |
---|---|
instance | Information about the GCP compute instance. |