variable "cluster_name" { description = "Name of the PostgreSQL cluster" type = string } variable "folder_id" { description = "Yandex Cloud folder ID" type = string } variable "network_id" { description = "Network ID for the PostgreSQL cluster" type = string } variable "subnet_id" { description = "Subnet ID for the PostgreSQL cluster" type = string } variable "zone" { description = "Availability zone" type = string default = "ru-central1-a" } variable "environment" { description = "Environment (PRODUCTION, PRESTABLE)" type = string default = "PRODUCTION" } variable "postgresql_version" { description = "PostgreSQL version" type = string default = "15" } variable "resource_preset_id" { description = "Resource preset ID" type = string default = "s2.micro" } variable "disk_type_id" { description = "Disk type ID" type = string default = "network-ssd" } variable "disk_size" { description = "Disk size in GB" type = number default = 10 } variable "database_name" { description = "Name of the database" type = string default = "pulse_db" } variable "database_user" { description = "Name of the database user" type = string default = "pulse" } variable "postgresql_config" { description = "PostgreSQL configuration" type = map(any) default = {} } variable "maintenance_window_type" { description = "Maintenance window type" type = string default = "WEEKLY" } variable "maintenance_window_day" { description = "Maintenance window day" type = string default = "SAT" } variable "maintenance_window_hour" { description = "Maintenance window hour" type = number default = 3 } variable "deletion_protection" { description = "Enable deletion protection" type = bool default = false }