feat(terraform): add Proxmox VM and Unifi DHCP modules (Phase 2)
This commit is contained in:
24
terraform/proxmox/vm/outputs.tf
Normal file
24
terraform/proxmox/vm/outputs.tf
Normal file
@@ -0,0 +1,24 @@
|
||||
output "vm_id" {
|
||||
description = "Proxmox VM ID of the created VM."
|
||||
value = proxmox_virtual_environment_vm.vm.vm_id
|
||||
}
|
||||
|
||||
output "mac_address" {
|
||||
description = "MAC address of the VM's first network interface."
|
||||
value = proxmox_virtual_environment_vm.vm.network_device[0].mac_address
|
||||
}
|
||||
|
||||
output "hostname" {
|
||||
description = "Hostname of the created VM."
|
||||
value = var.hostname
|
||||
}
|
||||
|
||||
output "ip_address" {
|
||||
description = "IP address of the created VM."
|
||||
value = var.ip_address
|
||||
}
|
||||
|
||||
output "node_name" {
|
||||
description = "Proxmox node where the VM is running."
|
||||
value = proxmox_virtual_environment_vm.vm.node_name
|
||||
}
|
||||
Reference in New Issue
Block a user