0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-24 12:28:34 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_role.md
Pavel Boldyrev 08ea66a4e0
feat(docs): update compatibility notes for PVE 9.x (#2116)
- Update primary support from Proxmox VE 8.x to 9.x
   - Change privilege examples from VM.Monitor to VM.GuestAgent.Audit
     (VM.Monitor removed in PVE 9.x)
   - Add backward compatibility notes for 8.x users
   - Update production requirements and examples

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-08-17 21:15:47 -04:00

40 lines
742 B
Markdown

---
layout: page
title: proxmox_virtual_environment_role
parent: Resources
subcategory: Virtual Environment
---
# Resource: proxmox_virtual_environment_role
Manages a role.
## Example Usage
```hcl
resource "proxmox_virtual_environment_role" "operations_monitoring" {
role_id = "operations-monitoring"
privileges = [
"VM.GuestAgent.Audit",
]
}
```
## Argument Reference
- `privileges` - (Required) The role privileges.
- `role_id` - (Required) The role identifier.
## Attribute Reference
There are no additional attributes available for this resource.
## Import
Instances can be imported using the `role_id`, e.g.,
```bash
terraform import proxmox_virtual_environment_role.operations_monitoring operations-monitoring
```