terraform files in the right folder

This commit is contained in:
2026-03-07 21:46:44 -06:00
parent ad03943339
commit 920ea80261
2 changed files with 34 additions and 0 deletions

View File

@@ -79,6 +79,33 @@ variable "template_name" {
}
}
# ─── Bootstrap Options ───────────────────────────────────────────────────────
# These override pipeline defaults for manual provisioning (pre-NetBox/n8n).
variable "started" {
type = bool
description = "Start VM after creation. Pipeline: false (n8n starts it). Bootstrap: true."
default = false
}
variable "use_dhcp" {
type = bool
description = "Use DHCP (pipeline) or static IP (bootstrap)."
default = true
}
variable "subnet_mask" {
type = number
description = "Subnet mask in CIDR notation. Only used when use_dhcp = false."
default = 24
}
variable "gateway" {
type = string
description = "Default gateway. Only used when use_dhcp = false."
default = "10.1.71.1"
}
# ─── Network ─────────────────────────────────────────────────────────────────
variable "vlan_id" {