Mods
GCP

Policy: GCP > SQL > Instance > Database Flags > MySQL > Template

The template is used to generate the keys and values for database flags under GCP SQL instance.

Database flags are configurable parameters that allow to customize the behavior and performance of the Cloud SQL instance. These flags can be used to set various database engine options, such as enabling or disabling specific features, tuning performance settings, or adjusting the default behavior of the database. Changes to database flags usually require a restart of the instance to take effect.

Flags not defined in SQL Instance Databse Flags Template will not be modified or deleted. Setting a flag value to undefined or null will result in the flag being deleted.

Sample flags supported for MySQL DB engine:

MySQL: skip_show_database: on local_infile: off

See MySQL database flags for more information.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Packs

This policy setting is used by the following policy packs:

Policy Specification

Schema Type
object
Default
{}
Examples [YAML]
  • skip_show_database: on
    local_infile: off
    

Category

In Your Workspace

Developers