84 lines
1.7 KiB
HCL
84 lines
1.7 KiB
HCL
variable "proxmox_api_url" {
|
|
description = "Proxmox API URL"
|
|
type = string
|
|
default = "https://192.168.100.10:8006/api2/json"
|
|
}
|
|
|
|
variable "proxmox_token_id" {
|
|
description = "Proxmox API Token ID"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_token_secret" {
|
|
description = "Proxmox API Token Secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_tls_insecure" {
|
|
description = "Skip TLS verification for Proxmox API"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
description = "SSH public key for admin access"
|
|
type = string
|
|
}
|
|
|
|
variable "forgejo_token" {
|
|
description = "Forgejo token for ansible-pull authentication"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "forgejo_repo_url" {
|
|
description = "Forgejo repository URL (without credentials)"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_version" {
|
|
description = "K3s version to install"
|
|
type = string
|
|
}
|
|
|
|
variable "ubuntu_template" {
|
|
description = "Ubuntu cloud-init template name"
|
|
type = string
|
|
}
|
|
|
|
variable "storage_pool" {
|
|
description = "Proxmox storage pool for VM disks"
|
|
type = string
|
|
}
|
|
|
|
variable "snippets_storage" {
|
|
description = "Proxmox storage for cloud-init snippets"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_network_bridge" {
|
|
description = "SDN bridge for K3s VMs"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_gateway" {
|
|
description = "Gateway for K3s network"
|
|
type = string
|
|
}
|
|
|
|
variable "k3s_dns" {
|
|
description = "DNS servers for K3s network"
|
|
type = list(string)
|
|
}
|
|
|
|
variable "k3s_server_1_config" {
|
|
description = "K3s server-1 VM configuration"
|
|
type = object({
|
|
ip = string
|
|
cores = number
|
|
memory = number
|
|
disk_size = string
|
|
})
|
|
}
|