library
turbot/gcp
Get Involved
Version
Pipeline: Create Cloud SQL Instance
This pipeline creates a new Cloud SQL instance.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gcp.pipeline.create_sql_instance \ --arg 'project_id=<string>' \ --arg 'instance_name=<string>' \ --arg 'region=<string>' \ --arg 'database_version=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gcp.pipeline.create_sql_instance args = { project_id = <string> instance_name = <string> region = <string> database_version = <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 Cloud SQL instance to create. | - |
region | string | Yes | The GCP region for the Cloud SQL instance. | - |
database_version | string | Yes | The version of the Cloud SQL database (e.g., MYSQL_8_0). | - |
Outputs
Name | Description |
---|---|
sql_instance | Information about the created Cloud SQL instance. |
Tags
recommended = true