library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Update SQL Instance

This pipeline updates the database flags for a Google Cloud SQL instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run gcp.pipeline.update_sql_instance \
--arg 'project_id=<string>' \
--arg 'instance_name=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = gcp.pipeline.update_sql_instance
args = {
project_id = <string>
instance_name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesThe credential to use for authentication.default
project_idstringYesThe GCP project ID.-
instance_namestringYesThe name of the SQL instance.-
database_flag_keystringNoThe database flag to set.-
database_flag_valuestringNoThe value for the database flag.-
clear_database_flagsboolNoWhether to clear all database flags.-
backup_start_timestringNoThe time at which backups should start.-
require_sslboolNoWhether to require SSL for connections.-
networkstringNoThe network for the SQL instance.-
disable_public_ipboolNoWhether to disable the public IP.-
authorized_networkslist(string)NoThe authorized networks for the SQL instance.-

Outputs

NameDescription
resultResult of the SQL instance patch command.