mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 11:02:59 +00:00
* refactoring existing cluster / firewall API for better composition * add basic security groups API fix linter errors * add rules API * fix after renaming resourceVirtualEnvironmentClusterIPSet * fix linter errors * make linter happy * even more refactoring * tidy up datasources * in refactoring spree * update examples * fix firewall resource/datasource & client error handling * add ipset(s) datasource * update docs * add security group resource with rules * docs * fix security group update, TODO: rule update * fix after rebase * add rule update, extract common rule schema, refactor group * fix linter errors * bump linter for ci * make alias and ipset reusable * make security group reusable * refactor datasources * add security group datasources * fix linter errors * update docs TODO: documentation for group datasources * add sg docs, update doc index * minor cleanup * fix examples & tests * stub for firewall-level options and rules * extract firewall interface * add firewall options and rules on the cluster level TODO: issues with rule list management * refactor all resources format AGAIN, now more flat, without complex subresources * sort out hierarchy of APIs and remove duplication in API wrappers * bring back security group * finally, working rules * restore cluster firewall option * add containers support * add options * move rules back under security group, update docs * fix vm_id / container_id attrs * add examples * cleanup * more cleanup Release-As: 0.17.0-rc1
1.5 KiB
1.5 KiB
layout | title | permalink | nav_order | parent | subcategory |
---|---|---|---|---|---|
page | proxmox_virtual_environment_user | /resources/virtual_environment_user | 16 | Resources | Virtual Environment |
Resource: proxmox_virtual_environment_user
Manages a user.
Example Usage
resource "proxmox_virtual_environment_user" "operations_automation" {
acl {
path = "/vms/1234"
propagate = true
role_id = proxmox_virtual_environment_role.operations_monitoring.role_id
}
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.Monitor",
]
}
Argument Reference
acl
- (Optional) The access control list (multiple blocks supported).path
- The path.propagate
- Whether to propagate to child paths.role_id
- The role identifier.
comment
- (Optional) The user comment.email
- (Optional) The user's email address.enabled
- (Optional) Whether the user account is enabled.expiration_date
- (Optional) The user account's expiration date (RFC 3339).first_name
- (Optional) The user's first name.groups
- (Optional) The user's groups.keys
- (Optional) The user's keys.last_name
- (Optional) The user's last name.password
- (Required) The user's password.user_id
- (Required) The user identifier.
Attribute Reference
There are no additional attributes available for this resource.