Skip to content

Data Source: proxmox_virtual_environment_vm

Retrieves information about a specific VM.

Example Usage

data "proxmox_virtual_environment_vm" "test_vm" {
    node_name = "test"
    vm_id = 100
}

Argument Reference

  • node_name - (Required) The node name.
  • vm_id - (Required) The VM identifier.

Attribute Reference

  • name - The virtual machine name.
  • tags - A list of tags of the VM.
  • status - The status of the VM.
  • template - Whether the VM is a template.