library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Add Metadata to Instance

This pipeline adds metadata to a Google Compute Engine instance to block project-wide SSH keys.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_metadata_to_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.add_metadata_to_compute_instance
args = {
project_id = <string>
zone = <string>
instance_name = <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.-
instance_name
string
YesThe name of the compute instance.-
metadata
string
NoThe metadata to add to the compute instance.-

Outputs

NameDescription
instanceInformation about the updated compute instance.