0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 12:32:59 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_container.md
H3Krn 3834564ea4
feat(lxc): add container datasource (#1750)
* 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>
2025-02-14 20:44:17 -05:00

32 lines
689 B
Markdown

---
layout: page
title: proxmox_virtual_environment_container
parent: Data Sources
subcategory: Virtual Environment
---
# Data Source: proxmox_virtual_environment_container
Retrieves information about a specific Container.
## Example Usage
```hcl
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 container
- `template` - Is container a template (true) or a regular container (false)