library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
credstringYesThe GCP application credentials file path.default
project_idstringYesThe GCP project ID.-
instance_namestringYesThe name of the Cloud SQL instance to create.-
regionstringYesThe GCP region for the Cloud SQL instance.-
database_versionstringYesThe version of the Cloud SQL database (e.g., MYSQL_8_0).-

Outputs

NameDescription
sql_instanceInformation about the created Cloud SQL instance.