mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
59 lines
1.3 KiB
HCL
59 lines
1.3 KiB
HCL
variable "cluster_id" {
|
|
description = "ID существующего PostgreSQL кластера в Yandex Cloud"
|
|
type = string
|
|
}
|
|
|
|
variable "database_name" {
|
|
description = "Имя базы данных"
|
|
type = string
|
|
}
|
|
|
|
variable "user_name" {
|
|
description = "Имя пользователя"
|
|
type = string
|
|
}
|
|
|
|
variable "password_length" {
|
|
description = "Длина пароля"
|
|
type = number
|
|
default = 32
|
|
}
|
|
|
|
variable "password_special" {
|
|
description = "Использовать специальные символы в пароле"
|
|
type = bool
|
|
default = false
|
|
}
|
|
|
|
variable "lc_collate" {
|
|
description = "LC_COLLATE для базы данных"
|
|
type = string
|
|
default = "en_US.UTF-8"
|
|
}
|
|
|
|
variable "lc_type" {
|
|
description = "LC_TYPE для базы данных"
|
|
type = string
|
|
default = "en_US.UTF-8"
|
|
}
|
|
|
|
variable "extensions" {
|
|
description = "Список расширений PostgreSQL"
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "permissions" {
|
|
description = "Права доступа пользователя"
|
|
type = list(object({
|
|
database_name = string
|
|
}))
|
|
default = []
|
|
}
|
|
|
|
variable "conn_limit" {
|
|
description = "Лимит подключений для пользователя"
|
|
type = number
|
|
default = 10
|
|
}
|