Added terraform for lightning-lane

This commit is contained in:
2026-03-07 21:18:36 -06:00
parent 7d7129632f
commit a349ce13f8
5 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# ─── Host Provisioning ───────────────────────────────────────────────────────
# Root module that calls the shared VM module.
# Per-host values come from tfvars files.
# Sensitive values come from CLI arguments.
#
# Usage:
# terraform apply \
# -var-file="tfvars/lightning-lane.tfvars" \
# -state="states/lightning-lane.tfstate" \
# -var="proxmox_api_url=https://main-street-usa.local.mk-labs.cloud:8006" \
# -var="proxmox_api_token=terraform@pve!automation=<token>"
module "vm" {
source = "../vm"
proxmox_api_url = var.proxmox_api_url
proxmox_api_token = var.proxmox_api_token
hostname = var.hostname
vm_id = var.vm_id
ip_address = var.ip_address
target_node = var.target_node
clone_node = var.clone_node
template_name = var.template_name
datastore = var.datastore
bridge = var.bridge
dns_servers = var.dns_servers
search_domain = var.search_domain
}