Skip to content

Data Source: proxmox_virtual_environment_node

Retrieves information about a specific Proxmox VE node.

Example Usage

data "proxmox_virtual_environment_node" "example" {
  node_name = "pve"
}

output "data_proxmox_virtual_environment_node" {
  value = {
    cpu_cores    = data.proxmox_virtual_environment_node.example.cpu_cores
    cpu_count    = data.proxmox_virtual_environment_node.example.cpu_count
    cpu_sockets  = data.proxmox_virtual_environment_node.example.cpu_sockets
    cpu_model    = data.proxmox_virtual_environment_node.example.cpu_model
    memory_total = data.proxmox_virtual_environment_node.example.memory_total
    uptime       = data.proxmox_virtual_environment_node.example.uptime
  }
}

Schema

Required

Read-Only

  • cpu_cores (Number) The total number of physical CPU cores on the node
  • cpu_count (Number) The total number of logical CPUs on the node (sockets * cores * threads)
  • cpu_model (String) The CPU model on the node
  • cpu_sockets (Number) The number of CPU sockets on the node
  • cpu_utilization (Number) The CPU utilization on the node (a value between 0.0 and 1.0)
  • id (String) The ID of this resource.
  • memory_available (Number) The available memory in bytes on the node
  • memory_total (Number) The total memory in bytes on the node
  • memory_used (Number) The used memory in bytes on the node
  • uptime (Number) The uptime in seconds on the node