mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-04 04:22:59 +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>
32 lines
689 B
Markdown
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)
|