Add KMS on CloudSQL module
This commit is contained in:
@@ -76,6 +76,12 @@ variable "disk_type" {
|
||||
default = "PD_SSD"
|
||||
}
|
||||
|
||||
variable "encryption_key_name" {
|
||||
description = "The full path to the encryption key used for the CMEK disk encryption."
|
||||
type = string
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "flags" {
|
||||
description = "Map FLAG_NAME=>VALUE for database-specific tuning."
|
||||
type = map(string)
|
||||
@@ -115,9 +121,12 @@ variable "region" {
|
||||
}
|
||||
|
||||
variable "replicas" {
|
||||
description = "Map of NAME=>REGION for additional read replicas. Set to null to disable replica creation."
|
||||
type = map(any)
|
||||
default = null
|
||||
description = "Map of NAME=> {REGION, KMS_KEY} for additional read replicas. Set to null to disable replica creation."
|
||||
type = map(object({
|
||||
region = string
|
||||
encryption_key_name = string
|
||||
}))
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "tier" {
|
||||
|
||||
Reference in New Issue
Block a user