my-homelab-configs/bootstrap/provisioning/variables.tf

256 lines
4.0 KiB
HCL

variable "provisioning_host" {
type = string
default = "192.168.100.68"
}
variable "provisioning_user" {
type = string
default = "jv"
}
variable "provisioning_ssh_key_path" {
type = string
default = "/home/jv/.ssh/id_ed25519"
}
variable "provisioning_install_dir" {
type = string
default = "/opt/homelab-provisioning"
}
variable "provisioning_interface" {
type = string
}
variable "proxy_dhcp_range" {
type = string
default = "192.168.100.0,proxy"
}
variable "http_host" {
type = string
default = "192.168.100.68"
}
variable "http_port" {
type = number
default = 8088
}
variable "debian_suite" {
type = string
default = "trixie"
}
variable "debian_mirror_host" {
type = string
default = "deb.debian.org"
}
variable "debian_mirror_directory" {
type = string
default = "/debian"
}
variable "debian_netboot_base_url" {
type = string
default = ""
}
variable "pxe_boot_file" {
type = string
default = "grubaa64.efi"
}
variable "template_hostname" {
type = string
default = "homelab-arm64-template"
}
variable "clone_hostname_prefix" {
type = string
default = "homelab-worker"
}
variable "template_domain" {
type = string
default = "homelab.local"
}
variable "template_disk" {
type = string
default = "/dev/sda"
}
variable "template_user" {
type = string
default = "jv"
}
variable "template_user_full_name" {
type = string
default = "Homelab Operator"
}
variable "template_user_password_hash" {
type = string
default = "*"
}
variable "template_user_ssh_public_key_path" {
type = string
default = "/home/jv/.ssh/id_ed25519.pub"
}
variable "template_user_ssh_authorized_keys" {
type = list(string)
default = []
}
variable "locale" {
type = string
default = "en_US.UTF-8"
}
variable "keyboard" {
type = string
default = "us"
}
variable "timezone" {
type = string
default = "UTC"
}
variable "kubernetes_minor_version" {
type = string
default = "v1.33"
}
variable "kernel_cgroup_boot_options" {
type = list(string)
default = [
"systemd.unified_cgroup_hierarchy=1",
"cgroup_enable=memory",
"cgroup_memory=1",
]
}
variable "registry_endpoint" {
type = string
default = "192.168.100.68:30500"
}
variable "node_dns_servers" {
type = list(string)
default = [
"1.1.1.1",
"8.8.8.8",
]
}
variable "additional_template_packages" {
type = list(string)
default = []
}
variable "pimox_template_builder_enabled" {
type = bool
default = false
}
variable "pimox_host" {
type = string
default = "192.168.100.80"
}
variable "pimox_user" {
type = string
default = "jv"
}
variable "pimox_ssh_key_path" {
type = string
default = "/home/jv/.ssh/id_ed25519"
}
variable "pimox_qm_bin" {
type = string
default = "/usr/sbin/qm"
}
variable "pimox_template_vmid" {
type = number
default = 9000
}
variable "pimox_template_name" {
type = string
default = "debian13-arm64-k8s-template"
}
variable "pimox_template_cores" {
type = number
default = 2
}
variable "pimox_template_memory" {
type = number
default = 2048
}
variable "pimox_template_bridge" {
type = string
default = "vmbr0"
}
variable "pimox_template_mac" {
type = string
default = ""
}
variable "pimox_template_scsi0" {
type = string
default = "local:15"
}
variable "pimox_template_efidisk0" {
type = string
default = "local:1,efitype=4m,pre-enrolled-keys=1"
}
variable "pimox_template_replace_existing" {
type = bool
default = false
}
variable "pimox_template_build_host" {
type = string
default = ""
}
variable "pimox_template_build_user" {
type = string
default = "jv"
}
variable "pimox_template_build_ssh_key_path" {
type = string
default = "/home/jv/.ssh/id_ed25519"
}
variable "pimox_template_build_timeout" {
type = string
default = "60m"
}
variable "pimox_template_build_timeout_seconds" {
type = number
default = 3600
}
variable "pimox_template_guest_ip_prefix" {
type = string
default = "192.168.100."
}