mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
* feat(lxc): add container datasource Signed-off-by: Harm Kroon <hhhkroon@hotmail.com> * chore: ignore duplicated code Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --------- Signed-off-by: Harm Kroon <hhhkroon@hotmail.com> Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
689 B
689 B
layout | title | parent | subcategory |
---|---|---|---|
page | proxmox_virtual_environment_container | Data Sources | Virtual Environment |
Data Source: proxmox_virtual_environment_container
Retrieves information about a specific Container.
Example Usage
data "proxmox_virtual_environment_container" "test_container" {
node_name = "test"
vm_id = 100
}
Argument Reference
node_name
- (Required) The node name.vm_id
- (Required) The container identifier.
Attribute Reference
name
- The container name.tags
- A list of tags of the container.status
- Status of the containertemplate
- Is container a template (true) or a regular container (false)