45 lines
930 B
HCL
45 lines
930 B
HCL
variable "proxmox_endpoint" {
|
|
description = "Proxmox API URL"
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_password" {
|
|
description = "Password for root@pam on Proxmox"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "node_name" {
|
|
description = "Proxmox node name"
|
|
type = string
|
|
default = "pve"
|
|
}
|
|
|
|
variable "drone_runner_id" {
|
|
description = "VMID for the Drone Runner LXC"
|
|
type = number
|
|
default = 200
|
|
}
|
|
|
|
variable "drone_runner_ip" {
|
|
description = "Static IP in CIDR notation"
|
|
type = string
|
|
}
|
|
|
|
variable "gateway" {
|
|
description = "Network gateway IP"
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_public_key_path" {
|
|
description = "Path to SSH public key for LXC root access"
|
|
type = string
|
|
default = "~/.ssh/id_ed25519.pub"
|
|
}
|
|
|
|
variable "drone_runner_password" {
|
|
description = "Root password inside the LXC container"
|
|
type = string
|
|
sensitive = true
|
|
}
|