bpg / terraform-provider-proxmox

Terraform Provider for Proxmox
https://registry.terraform.io/providers/bpg/proxmox
Mozilla Public License 2.0
884 stars 140 forks source link

Raw device disk passthrough instead of datastore #1525

Closed luis-guimaraes-exoawk closed 2 months ago

luis-guimaraes-exoawk commented 2 months ago

Is your feature request related to a problem? Please describe. Not sure if this is already implemented or not, but I need to create a VM that gets a HDD passed through directly from hardware to the VM. I'm not sure how to achieve this using the provider. If it's already a feature can you point me to the documentation?

Describe the solution you'd like To learn how to have a raw unpartitioned HDD attached to a VM

otopetrik commented 2 months ago

That should work, see: https://github.com/bpg/terraform-provider-proxmox/issues/473#issuecomment-1873695427, unfortunately it looks like it is not documented. Documentation has only example for using disks from other VMs.

bpg commented 2 months ago

@luis-guimaraes-exoawk Could you check if that solution works for you, and report back?