library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

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.-
instance_name
string
YesThe name of the Cloud SQL instance to create.-
region
string
YesThe GCP region for the Cloud SQL instance.-
database_version
string
YesThe version of the Cloud SQL database (e.g., MYSQL_8_0).-

Outputs

NameDescription
sql_instanceInformation about the created Cloud SQL instance.

Tags

recommended = true