Skip to content

r/virtual_machine: add support for virtual watchdog timer #2344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 4 tasks
bjh21 opened this issue Feb 13, 2025 · 1 comment
Open
1 of 4 tasks

r/virtual_machine: add support for virtual watchdog timer #2344

bjh21 opened this issue Feb 13, 2025 · 1 comment
Labels
area/vm Area: Virtual Machines enhancement Enhancement
Milestone

Comments

@bjh21
Copy link

bjh21 commented Feb 13, 2025

Community Guidelines

  • I have read and agree to the HashiCorp Community Guidelines .
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • 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

With virtual hardware version 17, VMware added a Virtual Watchdog Timer (VWDT). This appears in the vSphere client as an extra piece of hardware that one can add to a VM, but as far as I can see the vsphere provider doesn't support adding one. I suggest that such support should be added to the provider.

Use Case(s)

I want to clone a VM from an Ubuntu Official Cloud Image and modify its virtual hardware for my application. This includes adding a VWDT. At the moment, I have to do this by hand after Terraform has created the VM, but it would be much more convenient if Terraform could customise this the same way it customises the disks, RAM, and virtual hardware version.

Potential Terraform Provider Configuration

VWDTs have a setting to control whether they should be started on boot, so I suspect a block is necessary:

resource "vsphere_virtual_machine" "vm" {
  watchdog_timer {
    run_on_boot = false
  }
  # other properties elided
}

References

No response

@bjh21 bjh21 added the enhancement Enhancement label Feb 13, 2025
Copy link

Hello, bjh21! 🖐

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.

@tenthirtyam tenthirtyam added bug Bug enhancement Enhancement and removed enhancement Enhancement bug Bug labels Mar 28, 2025
@tenthirtyam tenthirtyam changed the title Add support for Virtual Watchdog Timer (VWDT) r/virtual_machine: Add support for virtual watchdog timer May 16, 2025
@tenthirtyam tenthirtyam added the area/vm Area: Virtual Machines label May 16, 2025
@tenthirtyam tenthirtyam added this to the Backlog milestone May 16, 2025
@tenthirtyam tenthirtyam changed the title r/virtual_machine: Add support for virtual watchdog timer r/virtual_machine: add support for virtual watchdog timer May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vm Area: Virtual Machines enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants