Files
PSProxmoxVE/tests/infrastructure/outputs.tf
T
Clint Branham 8c963fb684 feat(infra): add Terraform config for nested PVE test VM
Provisions a throwaway nested Proxmox VE instance on an existing host
using bpg/proxmox provider. Includes unattended install via answer file,
API wait script, and automatic API token creation. Designed for CI-driven
integration test environments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 16:15:31 -05:00

26 lines
505 B
Terraform

output "pve_test_host" {
value = var.test_vm_ip
}
output "pve_test_port" {
value = 8006
}
output "pve_test_url" {
value = "https://${var.test_vm_ip}:8006"
}
output "pve_test_vm_id" {
value = var.vm_id
}
output "pve_test_node_name" {
value = "pve"
description = "Default node name inside a fresh PVE install"
}
output "pve_test_api_token" {
value = fileexists("${path.module}/.api-token") ? trimspace(file("${path.module}/.api-token")) : "not-yet-created"
sensitive = true
}