library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Add Labels to SQL Instance

This pipeline adds labels to a Google Cloud SQL database instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.add_labels_to_sql_instance \
--arg 'project_id=<string>' \
--arg 'instance_name=<string>' \
--arg 'labels=<map(string)>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.add_labels_to_sql_instance
args = {
project_id = <string>
instance_name = <string>
labels = <map(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesGCP credentials to usedefault
project_idstringYesThe GCP project ID.-
instance_namestringYesThe name of the SQL database instance.-
labelsmap(string)YesThe GCP labels to add.-

Outputs

NameDescription
instanceInformation about the SQL database instance.