terraform-provider-vsphere icon indicating copy to clipboard operation
terraform-provider-vsphere copied to clipboard

Add support for a `vmware_host_passthrough` resource

Open holmesb opened this issue 2 years ago • 4 comments

Community Guidelines

  • [X] I have read and agree to the HashiCorp Community Guidelines .
  • [X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • [X] Do not leave "+1" or other comments that do not add relevant information or questions.
  • [ ] If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

Hi,

It's a bit odd that you can add passed-through PCI devices to VMs using this provider, but not actually pass them through on hosts to begin with. I expect this requires a new resource vmware_host_passthrough or vmware_host_pci_devices if want to match the data source. Alternatively, could add a passthrough block to the existing virtual_host resource. In any case, should allow adding by device ID as well as name, so can passthrough specific devices if there are many with the same name (eg multiple GPUs\NICs).

Cheers.

Use Case(s)

Declaratively pass-through. Currently must be done manually\outside Terraform.

Potential Terraform Provider Configuration

No response

References

No response

holmesb avatar Jun 23 '22 07:06 holmesb

Hello,   holmesb ! 🖐

Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.

If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.

github-actions[bot] avatar Jun 23 '22 07:06 github-actions[bot]

Duplicate of #1684.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

tenthirtyam avatar Jun 23 '22 08:06 tenthirtyam

Pls reopen, #1684 is not a duplicate. It was created in error and is irrelevent to this provider.

holmesb avatar Jun 23 '22 13:06 holmesb

Reopened, labeled, and placed on the backlog for future consideration and community reactions / upvotes 👍.

Ryan Johnson Staff II Solutions Architect | VMware, Inc.

tenthirtyam avatar Jun 23 '22 14:06 tenthirtyam