standard
turbot/gcp_thrifty

Pipeline: Stop & downgrade Compute instance

Stops a Compute instance and downgrades its instance type.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp_thrifty.pipeline.stop_downgrade_compute_instance \
--arg 'instance_name=<string>' \
--arg 'machine_type=<string>' \
--arg 'project_id=<string>' \
--arg 'zone=<string>' \
--arg 'conn=<connection.gcp>' \
--arg 'title=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp_thrifty.pipeline.stop_downgrade_compute_instance
args = {
instance_name = <string>
machine_type = <string>
project_id = <string>
zone = <string>
conn = <connection.gcp>
title = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
instance_name
string
YesThe name of the Compute instance.-
machine_type
string
YesThe machine type to downgrade to.-
project_id
string
YesGCP Project ID of the resource(s).-
zone
string
YesGCP Zone of the resource(s).-
conn
connection.gcp
YesName of the GCP connection to be used for any authenticated actions.-
title
string
YesTitle of the resource, to be used as a display name.-

Outputs

This pipeline has no outputs.

Tags

category = Cost
folder = Internal
plugin = gcp
service = GCP/Compute