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
Leah 4147ff6a29
feat: add import support for a lot of resources (#390)
* 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
2023-07-04 21:37:14 -04:00

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