library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Clone Cloud SQL Instance

This pipeline creates a clone of a Cloud SQL instance. The clone is an independent copy of the source instance with the same data and settings. Source and destination instances must be in the same project. An instance can be cloned from its current state, or from an earlier point in time.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.clone_sql_instance \
--arg 'project_id=<string>' \
--arg 'source_instance_name=<string>' \
--arg 'clone_instance_name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = gcp.pipeline.clone_sql_instance
args = {
project_id = <string>
source_instance_name = <string>
clone_instance_name = <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.-
source_instance_name
string
YesThe name of the source Cloud SQL instance to clone.-
clone_instance_name
string
YesThe name of the cloned Cloud SQL instance.-

Outputs

NameDescription
clone_sql_instanceInformation about the cloned Cloud SQL instance.