Fixing issue with k8s database_read_replica failing on tfvalidate (#65)
- Added optional to nested tls object in `database_read_replica` variable
This commit is contained in:
1 parent
6fdce2f1c8
commit
d4293ab7d0
1 file changed
+2
-2
+2
-2
@@ -337,14 +337,14 @@ variable "database_read_replica" {
|
|||||||
max_idle_conns = optional(number, 50)
|
max_idle_conns = optional(number, 50)
|
||||||
conn_max_lifetime = optional(number, 0)
|
conn_max_lifetime = optional(number, 0)
|
||||||
|
|
||||||
tls = object({
|
tls = optional(object({
|
||||||
enabled = optional(bool, false)
|
enabled = optional(bool, false)
|
||||||
config = optional(string, "")
|
config = optional(string, "")
|
||||||
server_name = optional(string, "")
|
server_name = optional(string, "")
|
||||||
ca_cert_key = optional(string, "")
|
ca_cert_key = optional(string, "")
|
||||||
cert_key = optional(string, "")
|
cert_key = optional(string, "")
|
||||||
key_key = optional(string, "")
|
key_key = optional(string, "")
|
||||||
})
|
}))
|
||||||
})
|
})
|
||||||
description = "Used to configure database_read_replica specific values for use in the Fleet deployment and vuln-processing cron job."
|
description = "Used to configure database_read_replica specific values for use in the Fleet deployment and vuln-processing cron job."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user