Skip to content

Data Source: proxmox_virtual_environment_hardware_mapping_pci

Warning

Deprecated: Use proxmox_hardware_mapping_pci instead. This data source will be removed in v1.0.

Retrieves a PCI hardware mapping from a Proxmox VE cluster.

Example Usage

data "proxmox_virtual_environment_hardware_mapping_pci" "example" {
  name = "example"
}

output "data_proxmox_virtual_environment_hardware_mapping_pci" {
  value = data.proxmox_virtual_environment_hardware_mapping_pci.example
}

Schema

Required

  • name (String) The name of this PCI hardware mapping.

Read-Only

  • comment (String) The comment of this PCI hardware mapping.
  • id (String) The unique identifier of this PCI hardware mapping data source.
  • map (Attributes Set) The actual map of devices for the hardware mapping. (see below for nested schema)
  • mediated_devices (Boolean) Indicates whether to use with mediated devices.

Nested Schema for map

Read-Only:

  • comment (String) The comment of the mapped PCI device.
  • id (String) The ID attribute of the map.
  • iommu_group (Number) The IOMMU group attribute of the map.
  • node (String) The node name attribute of the map.
  • path (String) The path attribute of the map.
  • subsystem_id (String) The subsystem ID attribute of the map. While not mandatory for the Proxmox VE API call, omitting this attribute will result in an incomplete PCI hardware mapping.