0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-29 18:21:10 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_hardware_mapping_dir.md
Fina 6dbff43bd1
feat(hardwaremapping): Introduce support for directory mappings (#1902)
Signed-off-by: Fina Wilke <code@felinira.net>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-16 18:54:22 -04:00

1.1 KiB

layout title parent subcategory description
page proxmox_virtual_environment_hardware_mapping_dir Data Sources Virtual Environment Retrieves a directory mapping from a Proxmox VE cluster.

Data Source: proxmox_virtual_environment_hardware_mapping_dir

Retrieves a directory mapping from a Proxmox VE cluster.

Example Usage

data "proxmox_virtual_environment_hardware_mapping_dir" "example" {
  name = "example"
}

output "data_proxmox_virtual_environment_hardware_mapping_dir" {
  value = data.proxmox_virtual_environment_hardware_mapping_dir.example
}

Schema

Required

  • name (String) The name of this directory mapping.

Read-Only

  • comment (String) The comment of this directory mapping.
  • id (String) The unique identifier of this directory mapping data source.
  • map (Attributes Set) The actual map of devices for the directory mapping. (see below for nested schema)

Nested Schema for map

Read-Only:

  • node (String) The node name attribute of the map.
  • path (String) The path attribute of the map.