Files
uis-cloud-computing/tofu/variables.tf

66 lines
1.6 KiB
HCL

variable "metallb_ip_range" {
description = "IP address range for MetalLB address pool (e.g., 10.80.0.100-10.80.0.240)"
type = string
}
variable "mariadb_password" {
description = "Password for standard MariaDB users (stored in Secret). Keep secure."
type = string
sensitive = true
}
variable "mariadb_root_password" {
description = "Root password for MariaDB (stored in Secret). Keep secure."
type = string
sensitive = true
}
variable "mariadb_user_name" {
description = "Application username to create and grant privileges to"
type = string
default = "user"
}
variable "mariadb_user_host" {
description = "Host (wildcard or specific) for the application user"
type = string
default = "%"
}
variable "metallb_maxscale_ip" {
description = "MetalLB IP for MaxScale service"
type = string
default = ""
}
variable "metallb_service_ip" {
description = "MetalLB IP for general MariaDB service"
type = string
default = ""
}
variable "metallb_primary_ip" {
description = "MetalLB IP for MariaDB primary service"
type = string
default = ""
}
variable "metallb_secondary_ip" {
description = "MetalLB IP for MariaDB secondary service"
type = string
default = ""
}
variable "phpmyadmin_enabled" {
description = "Whether to deploy phpMyAdmin auxiliary components"
type = bool
default = true
}
variable "mariadb_user_password" {
description = "Password for the application MariaDB user"
type = string
sensitive = true
nullable = false
}