variable "edge_instance_id" { description = "Resolved OCI identity; re-provision a replacement even if it reuses the public IP." type = string default = "" } variable "edge_host" { type = string default = "" validation { condition = var.edge_host != "" error_message = "edge_host must be provided from homelab.yml through jeannie or an explicit tfvars/env value." } } variable "edge_user" { type = string default = "ubuntu" } variable "edge_ssh_key_path" { type = string default = "/home/jv/.ssh/id_ed25519" } variable "edge_ssh_host" { description = "Private edge address used for SSH when provisioning through OCI Bastion." type = string default = "" } variable "edge_bastion_host" { description = "OCI Bastion endpoint used as the SSH jump host." type = string default = "" } variable "edge_bastion_user" { description = "OCI Bastion managed-session OCID used as the SSH jump user." type = string default = "" } variable "edge_bastion_port" { description = "OCI Bastion SSH endpoint port." type = number default = 22 } variable "edge_bastion_private_key_path" { description = "Private key path used to authenticate the OCI Bastion jump connection." type = string default = "" } variable "edge_ssh_timeout" { description = "Maximum time OpenTofu may spend connecting to the edge SSH endpoint." type = string default = "45s" } variable "edge_install_dir" { type = string default = "/opt/homelab-edge" } variable "edge_tailscale_auth_key" { description = "Ephemeral Tailscale auth key used to join a newly recreated OCI edge VM. Never persist this value in Terraform state or inventory." type = string sensitive = true default = "" } variable "edge_tailscale_tag" { description = "Tailscale tag to advertise when joining a recreated OCI edge VM." type = string default = "tag:homelab-edge" } variable "edge_install_docker" { type = bool default = true } variable "lab_schedule_enabled" { type = bool default = false validation { condition = !var.lab_schedule_enabled error_message = "The legacy SSH-based lab scheduler is disabled until OCI agent installation and lifecycle recovery are implemented." } } variable "lab_schedule_api_url" { type = string default = "" } variable "lab_schedule_api_token" { type = string sensitive = true default = "" } variable "lab_schedule_timezone" { type = string default = "America/Mexico_City" } variable "server_name" { type = string default = "" validation { condition = var.server_name != "" error_message = "server_name must be provided from homelab.yml through jeannie or an explicit tfvars/env value." } } variable "additional_server_names" { type = list(string) default = [] } variable "enable_letsencrypt" { type = bool default = true } variable "letsencrypt_email" { type = string default = "" } variable "letsencrypt_staging" { type = bool default = false } variable "backend_host" { type = string default = "" validation { condition = var.backend_host != "" error_message = "backend_host must be provided from homelab.yml through jeannie or an explicit tfvars/env value." } } variable "monitoring_backend_host" { type = string default = "" } variable "edge_config_only" { description = "Reload existing Nginx configuration without pulling or recreating edge containers." type = bool default = false } variable "backend_port" { type = number default = 80 } variable "demos_backend_port" { type = number default = 30081 } variable "gitea_backend_port" { type = number default = 3000 } variable "gitea_backend_host" { type = string default = "" validation { condition = var.gitea_backend_host != "" error_message = "gitea_backend_host must be provided from homelab.yml through jeannie or an explicit tfvars/env value." } } variable "heimdall_backend_host" { type = string default = "" } variable "heimdall_backend_port" { type = number default = 8082 } variable "homepage_backend_host" { type = string default = "" } variable "homepage_backend_port" { type = number default = 8083 } variable "oidc_backend_host" { type = string default = "" } variable "oidc_backend_port" { type = number default = 5556 } variable "jellyfin_backend_host" { type = string default = "" } variable "jellyfin_backend_port" { type = number default = 8096 } variable "searxng_backend_host" { type = string default = "" } variable "searxng_backend_port" { type = number default = 8888 } variable "privatebin_backend_host" { type = string default = "" } variable "privatebin_backend_port" { type = number default = 8889 } variable "miniflux_backend_host" { type = string default = "" } variable "miniflux_backend_port" { type = number default = 8890 } variable "jeannie_api_backend_host" { type = string default = "" validation { condition = var.jeannie_api_backend_host != "" error_message = "jeannie_api_backend_host must be provided from homelab.yml through jeannie or an explicit tfvars/env value." } } variable "jeannie_api_backend_port" { type = number default = 8787 } variable "office_server_name" { type = string default = "office.lab2025.duckdns.org" } variable "office_backend_host" { type = string default = "192.168.100.73" } variable "office_backend_port" { type = number default = 8090 } variable "office_onlyoffice_server_name" { type = string default = "docs.lab2025.duckdns.org" } variable "office_onlyoffice_backend_port" { type = number default = 9981 } # Matrix (isolated vhost + its own cert; does NOT touch shared current.crt) variable "matrix_enabled" { type = bool default = true } variable "matrix_server_name" { type = string default = "matrix.lab2025.duckdns.org" } # Synapse client-server port on the LAN host. Override to use a Tailscale IP. variable "matrix_backend_host" { type = string default = "192.168.100.73" } variable "matrix_backend_port" { type = number default = 8008 } variable "matrix_cert_dir" { type = string default = "/etc/nginx/certs" } # Element (shares the matrix isolated cert) variable "element_server_name" { type = string default = "element.lab2025.duckdns.org" } variable "element_backend_host" { type = string default = "192.168.100.73" } variable "element_backend_port" { type = number default = 8081 } variable "haproxy_stats_user" { type = string default = "admin" } variable "haproxy_stats_password" { type = string sensitive = true default = "" validation { condition = length(var.haproxy_stats_password) >= 12 && var.haproxy_stats_password != "adminpassword" error_message = "haproxy_stats_password must be set explicitly to a non-default value with at least 12 characters." } }