mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-29 18:21:10 +00:00
* feat(vm): implement filtering in vms data source. * Additional attributes for vm data source (status, template) * fix qodana CI job condition --------- Signed-off-by: Konstantin Kornienko <konstantin.kornienko@gmail.com> Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
625 B
625 B
layout | title | parent | subcategory |
---|---|---|---|
page | proxmox_virtual_environment_vm | 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.status
- Status of the VMtemplate
- Is VM a template (true) or a regular VM (false)