0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 11:28:33 +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

742 B

layout title parent subcategory
page proxmox_virtual_environment_role Resources Virtual Environment

Resource: proxmox_virtual_environment_role

Manages a role.

Example Usage

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.,

terraform import proxmox_virtual_environment_role.operations_monitoring operations-monitoring