Resource: proxmox_virtual_environment_hardware_mapping_usb¶
Warning
Deprecated: Use proxmox_hardware_mapping_usb instead. This resource will be removed in v1.0.
Manages a USB hardware mapping in a Proxmox VE cluster.
Example Usage¶
resource "proxmox_virtual_environment_hardware_mapping_usb" "example" {
comment = "This is a comment"
name = "example"
# The actual map of devices.
map = [
{
comment = "This is a device specific comment"
id = "8087:0a2b"
node = "pve"
# This attribute is optional, but can be used to map the device based on its port instead of only the device ID.
path = "1-8.2"
},
]
}
Schema¶
Required¶
map(Attributes Set) The actual map of devices for the hardware mapping. (see below for nested schema)name(String) The name of this hardware mapping.
Optional¶
comment(String) The comment of this USB hardware mapping.
Read-Only¶
id(String) The unique identifier of this USB hardware mapping resource.
Nested Schema for map¶
Required:
Optional:
comment(String) The comment of the mapped USB device.path(String) The path of the map. For USB hardware mappings, this is optional and indicates that the device is mapped via its device ID rather than ports.
Import¶
Import is supported using the following syntax: