0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-02 03:22:59 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_role.md
Pavel Boldyrev e2717a9a9e
feat(docs): add initial mini-howtos for VM (#730)
* chore(docs): minor fixes and linting

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* chore(docs): add VM mini-howtos with examples

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* address peer-review feedback

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

* vscode settings

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2023-11-28 12:38:47 -05:00

42 lines
800 B
Markdown

---
layout: page
title: proxmox_virtual_environment_role
permalink: /resources/virtual_environment_role
nav_order: 14
parent: Resources
subcategory: Virtual Environment
---
# Resource: proxmox_virtual_environment_role
Manages a role.
## Example Usage
```terraform
resource "proxmox_virtual_environment_role" "operations_monitoring" {
role_id = "operations-monitoring"
privileges = [
"VM.Monitor",
]
}
```
## 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
```