Add automated workflow for building and deploying NixOS VMs on Proxmox including template2 host configuration, Ansible playbook for image building/deployment, and OpenTofu configuration for VM provisioning with cloud-init. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
23 lines
572 B
HCL
23 lines
572 B
HCL
variable "proxmox_api_url" {
|
|
description = "Proxmox API URL (e.g., https://proxmox.home.2rjus.net:8006/api2/json)"
|
|
type = string
|
|
}
|
|
|
|
variable "proxmox_api_token_id" {
|
|
description = "Proxmox API Token ID (e.g., root@pam!terraform)"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_api_token_secret" {
|
|
description = "Proxmox API Token Secret"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "proxmox_tls_insecure" {
|
|
description = "Skip TLS verification (set to true for self-signed certs)"
|
|
type = bool
|
|
default = true
|
|
}
|