Telmate / terraform-provider-proxmox

Terraform provider plugin for proxmox
MIT License
2.01k stars 503 forks source link

Feature: VirtIO RNG hardware devices support #1026

Open maksimsamt opened 1 month ago

maksimsamt commented 1 month ago

Proxmox supports this feature: https://pve.proxmox.com/pve-docs/chapter-qm.html#qm_virtio_rng

It was requested before, but unfortunately without feedback and implementation into provider: https://github.com/Telmate/terraform-provider-proxmox/issues/176 At least I couldn't find this feature in the latest provider release.

Is it possible to add this this feature in upcoming v3 releases?

Note, in PVE 'VirtIO RNG' device can be added only by root user: https://forum.proxmox.com/threads/it-is-not-possible-to-add-a-virtio-rng-device-under-a-non-root-user.147436/ At the moment this problem has not been resolved.

maksimsamt commented 1 month ago

What are the possibilities here?

Tinyblargon commented 1 month ago

@maksimsamt, currently i don't have any time to implement this. Also, due to it being a root user only feature gives it many complications. As far as i understand it terraform won't remove it when it's part of a template.

maksimsamt commented 1 month ago

As far as i understand it terraform won't remove it when it's part of a template.

I think so too... Then we could return to this feature implementation when the issue with rng vs root is resolved.