library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Stop SQL Instance

This pipeline stops a Google Cloud SQL instance by setting its activation policy to NEVER.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.stop_sql_instance \
--arg 'project_id=<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.stop_sql_instance
args = {
project_id = <string>
instance_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
instance_namestringYesThe name of the SQL instance.-

Outputs

NameDescription
sql_instance_infoInformation about the stopped SQL instance.