# Variables for PostgreSQL Kubernetes module variable "environment" { description = "Deployment environment (staging or production)" type = string validation { condition = contains(["staging", "production"], var.environment) error_message = "Environment must be 'staging' or 'production'." } } variable "linode_region" { description = "Linode region for PostgreSQL" type = string default = "us-east" } variable "postgres_image" { description = "PostgreSQL Docker image" type = string default = "postgres:16.3" } variable "postgres_db" { description = "PostgreSQL database name" type = string default = "hapi_staging" } variable "storage_size" { description = "Storage size for PostgreSQL PVC" type = string default = "50Gi" } variable "cpu_request" { description = "CPU request for PostgreSQL pod" type = string default = "500m" } variable "cpu_limit" { description = "CPU limit for PostgreSQL pod" type = string default = "1000m" } variable "memory_request" { description = "Memory request for PostgreSQL pod" type = string default = "512Mi" } variable "memory_limit" { description = "Memory limit for PostgreSQL pod" type = string default = "1Gi" }