mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 19:12: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
43 lines
985 B
Markdown
43 lines
985 B
Markdown
---
|
|
layout: page
|
|
title: proxmox_virtual_environment_group
|
|
permalink: /resources/virtual_environment_group
|
|
nav_order: 11
|
|
parent: Resources
|
|
subcategory: Virtual Environment
|
|
---
|
|
|
|
# Resource: proxmox_virtual_environment_group
|
|
|
|
Manages a user group.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "proxmox_virtual_environment_group" "operations_team" {
|
|
comment = "Managed by Terraform"
|
|
group_id = "operations-team"
|
|
}
|
|
```
|
|
|
|
## 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 group comment.
|
|
- `group_id` - (Required) The group identifier.
|
|
|
|
## Attribute Reference
|
|
|
|
- `members` - The group members as a list of `username@realm` entries
|
|
|
|
## Import
|
|
|
|
Instances can be imported using the `group_id`, e.g.,
|
|
|
|
```bash
|
|
$ terraform import proxmox_virtual_environment_group.operations_team operations-team
|
|
```
|