From 0bf3a2aea3d8d5e2821a24b3613bc44cd60b7b2d Mon Sep 17 00:00:00 2001 From: TheNotary Date: Sat, 11 Nov 2023 20:03:38 -0600 Subject: [PATCH] chore(docs): update hostpci id to mentions requirement around root user (#710) Signed-off-by: TheNotary <799247+TheNotary@users.noreply.github.com> Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- docs/resources/virtual_environment_vm.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/resources/virtual_environment_vm.md b/docs/resources/virtual_environment_vm.md index 63a0a5bfa..0dd16eb6b 100644 --- a/docs/resources/virtual_environment_vm.md +++ b/docs/resources/virtual_environment_vm.md @@ -290,7 +290,9 @@ output "ubuntu_vm_public_key" { - `hostpci` - (Optional) A host PCI device mapping (multiple blocks supported). - `device` - (Required) The PCI device name for Proxmox, in form of `hostpciX` where `X` is a sequential number from 0 to 3. - - `id` - (Optional) The PCI device ID. Use either this or `mapping`. + - `id` - (Optional) The PCI device ID. This parameter is not compatible + with `api_token` and requires the root `username` and `password` + configured in the proxmox provider. Use either this or `mapping`. - `mapping` - (Optional) The resource mapping name of the device, for example gpu. Use either this or `id`. - `mdev` - (Optional) The mediated device ID to use.