feat(cloudsql-instance): Add query insights config (#1520)

This commit is contained in:
Mikhail Filipchuk
2023-07-21 19:14:34 +01:00
committed by GitHub
parent ea800fa475
commit ec74f351f5
4 changed files with 110 additions and 12 deletions

View File

@@ -99,6 +99,17 @@ variable "flags" {
default = null
}
variable "insights_config" {
description = "Query Insights configuration. Defaults to null which disables Query Insights."
type = object({
query_string_length = optional(number, 1024)
record_application_tags = optional(bool, false)
record_client_address = optional(bool, false)
query_plans_per_minute = optional(number, 5)
})
default = null
}
variable "ipv4_enabled" {
description = "Add a public IP address to database instance."
type = bool