library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
zonestringYesThe GCP zone.-
update_labelsmap(string)NoThe GCP labels.-
remove_labelslist(string)NoThe GCP labels.-
instance_namestringYesThe GCP instance name.-
shielded_vtpmboolNoEnable Shielded vTPM.-
shielded_integrity_monitoringboolNoEnable Shielded VM Integrity Monitoring.-

Outputs

NameDescription
instanceInformation about the GCP compute instance.