mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22:59 +00:00
* add import support for a lot of resources * fix lints * set user_id after importing (cherry picked from commit c3d09ed00f6e1d7b0bb3ab01a1fc5c81510aa2e1) * add tests, fix empty ID * add import docs * fix lint
802 B
802 B
layout | title | permalink | nav_order | parent | subcategory |
---|---|---|---|---|---|
page | proxmox_virtual_environment_role | /resources/virtual_environment_role | 14 | 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.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.,
$ terraform import proxmox_virtual_environment_role.operations_monitoring operations-monitoring