feat(terraform): add Proxmox VM and Unifi DHCP modules (Phase 2)

This commit is contained in:
2026-02-27 19:12:25 -06:00
parent b33bd5f252
commit 7e0b0a859b
10 changed files with 321 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# ─── Provider Authentication ─────────────────────────────────────────────────
variable "unifi_username" {
type = string
description = "Unifi controller username."
sensitive = true
}
variable "unifi_password" {
type = string
description = "Unifi controller password."
sensitive = true
}
variable "unifi_api_url" {
type = string
description = "Unifi controller API URL (e.g., https://10.1.0.1:443)."
}
# ─── DHCP Reservation ───────────────────────────────────────────────────────
variable "hostname" {
type = string
description = "Hostname for the DHCP reservation. Used as the client name."
}
variable "mac_address" {
type = string
description = "MAC address of the VM network interface (from Terraform Proxmox output)."
}
variable "ip_address" {
type = string
description = "Fixed IP address for the DHCP reservation (without CIDR, e.g., 10.1.71.100)."
}
variable "network_id" {
type = string
description = "Unifi network ID for the DHCP reservation."
default = ""
}