mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 02:52:58 +00:00
* feat(vm): Add a bare minimum VM datasource * fix linter errors * fix doc * add lookup across all nodes in the cluster, add filter by tags * stable vm list * fix linter errors * pr feedback: switch to dynamic id for vms * add datasource examples * add unit tests * Update virtual_environment_vms.md
600 B
600 B
layout | title | permalink | nav_order | parent | subcategory |
---|---|---|---|---|---|
page | proxmox_virtual_environment_vm | /data-sources/virtual_environment_vm | 17 | Data Sources | Virtual Environment |
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.