library
turbot/gcp
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.gcp | Yes | Name of GCP connection to use. If not provided, the default GCP connection will be used. | connection.gcp.default |
project_id | string | Yes | The GCP project ID. | - |
instance_name | string | Yes | The name of the SQL instance. | - |
database_flag_key | string | No | The database flag to set. | - |
database_flag_value | string | No | The value for the database flag. | - |
clear_database_flags | bool | No | Whether to clear all database flags. | - |
backup_start_time | string | No | The time at which backups should start. | - |
require_ssl | bool | No | Whether to require SSL for connections. | - |
network | string | No | The network for the SQL instance. | - |
disable_public_ip | bool | No | Whether to disable the public IP. | - |
authorized_networks | list(string) | No | The authorized networks for the SQL instance. | - |
Outputs
Name | Description |
---|---|
result | Result of the SQL instance patch command. |