Resource: proxmox_acl¶
Manages ACLs on the Proxmox cluster.
ACLs are used to control access to resources in the Proxmox cluster. Each ACL consists of a path, a user, group or token, a role, and a flag to allow propagation of permissions.
Example Usage¶
resource "proxmox_virtual_environment_user" "operations_automation" {
comment = "Managed by Terraform"
password = "a-strong-password"
user_id = "operations-automation@pve"
}
resource "proxmox_virtual_environment_role" "operations_monitoring" {
role_id = "operations-monitoring"
privileges = [
"VM.GuestAgent.Audit",
]
}
resource "proxmox_acl" "operations_automation_monitoring" {
user_id = proxmox_virtual_environment_user.operations_automation.user_id
role_id = proxmox_virtual_environment_role.operations_monitoring.role_id
path = "/vms/1234"
propagate = true
}
Schema¶
Required¶
Optional¶
group_id(String) The group the ACL should apply to (mutually exclusive withtoken_idanduser_id)propagate(Boolean) Allow to propagate (inherit) permissions.token_id(String) The token the ACL should apply to (mutually exclusive withgroup_idanduser_id)user_id(String) The user the ACL should apply to (mutually exclusive withgroup_idandtoken_id)
Read-Only¶
id(String) The unique identifier of this resource.
Import¶
Import is supported using the following syntax: