mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-04 21:14:05 +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
44 lines
944 B
Markdown
44 lines
944 B
Markdown
---
|
|
layout: page
|
|
title: proxmox_virtual_environment_pool
|
|
permalink: /resources/virtual_environment_pool
|
|
nav_order: 14
|
|
parent: Resources
|
|
subcategory: Virtual Environment
|
|
---
|
|
|
|
# Resource: proxmox_virtual_environment_pool
|
|
|
|
Manages a resource pool.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "proxmox_virtual_environment_pool" "operations_pool" {
|
|
comment = "Managed by Terraform"
|
|
pool_id = "operations-pool"
|
|
}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
- `comment` - (Optional) The pool comment.
|
|
- `pool_id` - (Required) The pool identifier.
|
|
|
|
## Attribute Reference
|
|
|
|
- `members` - The pool members.
|
|
- `datastore_id` - The datastore identifier.
|
|
- `id` - The member identifier.
|
|
- `node_name` - The node name.
|
|
- `type` - The member type.
|
|
- `vm_id` - The virtual machine identifier.
|
|
|
|
## Import
|
|
|
|
Instances can be imported using the `pool_id`, e.g.,
|
|
|
|
```bash
|
|
$ terraform import proxmox_virtual_environment_pool.operations_pool operations-pool
|
|
```
|