library
turbot/gcp
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: 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
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 SQL instance.-
database_flag_key
string
NoThe database flag to set.-
database_flag_value
string
NoThe value for the database flag.-
clear_database_flags
bool
NoWhether to clear all database flags.-
backup_start_time
string
NoThe time at which backups should start.-
require_ssl
bool
NoWhether to require SSL for connections.-
network
string
NoThe network for the SQL instance.-
disable_public_ip
bool
NoWhether to disable the public IP.-
authorized_networks
list(string)
NoThe authorized networks for the SQL instance.-

Outputs

NameDescription
resultResult of the SQL instance patch command.