library
turbot/gcp
Get Involved
Version
Pipeline: 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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
instance_name | string | Yes | The name of the SQL instance. | - |
Outputs
Name | Description |
---|---|
sql_instance_info | Information about the stopped SQL instance. |