library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

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
project_idstringYesThe GCP project ID.-
source_instance_namestringYesThe name of the source Cloud SQL instance to clone.-
clone_instance_namestringYesThe name of the cloned Cloud SQL instance.-
credstringYesThe GCP application credentials file path.default

Outputs

NameDescription
clone_sql_instanceInformation about the cloned Cloud SQL instance.