Skip to content

Resource: proxmox_virtual_environment_storage_lvmthin

Warning

Deprecated: Use proxmox_storage_lvmthin instead. This resource will be removed in v1.0.

Manages thin LVM-based storage in Proxmox VE.

Example Usage

resource "proxmox_virtual_environment_storage_lvmthin" "example" {
  id    = "example-lvmthin"
  nodes = ["pve"]

  volume_group = "vg0"
  thin_pool    = "data"

  content = ["images"]
}

Schema

Required

  • id (String) The unique identifier of the storage.
  • thin_pool (String) The name of the LVM thin pool to use.
  • volume_group (String) The name of the volume group to use.

Optional

  • content (Set of String) The content types that can be stored on this storage. Valid values: backup (VM backups), images (VM disk images), import (VM disk images for import), iso (ISO images), rootdir (container root directories), snippets (cloud-init, hook scripts, etc.), vztmpl (container templates).
  • disable (Boolean) Whether the storage is disabled.
  • nodes (Set of String) A list of nodes where this storage is available.

Read-Only

  • shared (Boolean) Whether the storage is shared across all nodes.