You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding or removing a hostpci argument to a vm resource, the vm is forced to be recreated. This should not happen, since adding/removing hostpci devices via the ui is possible. Although, it seems that a reboot would be required.
To Reproduce
Steps to reproduce the behavior:
Create a resource vm without a hostpci device
Run terraform apply
VM is created correctly with the device attached
Modify the resource, remove the hostpci device
Run terraform apply
See the vm being recreated
The same can be witnessed, when creating a vm with a hostpci device and then later remove it.
The following resource can be used in order to reproduce the issue:
Expected behavior
Adding/removing hostpci devices to/from a vm should not force recreation of the vm.
Additional context
Provider version: Tested with 0.29.0 but the problem was present since the introduction of the hostpci argument
Terraform version: v1.5.1
OS: Running from wsl on Windows 10
I'll be trying to come up with a pull request.
The text was updated successfully, but these errors were encountered:
When adding or removing a hostpci argument to a vm resource, the vm is forced to be recreated. This should not happen, since adding/removing hostpci devices via the ui is possible. Although, it seems that a reboot would be required.
To Reproduce
Steps to reproduce the behavior:
terraform apply
terraform apply
The same can be witnessed, when creating a vm with a hostpci device and then later remove it.
The following resource can be used in order to reproduce the issue:
Expected behavior
Adding/removing hostpci devices to/from a vm should not force recreation of the vm.
Additional context
Provider version: Tested with 0.29.0 but the problem was present since the introduction of the hostpci argument
Terraform version: v1.5.1
OS: Running from wsl on Windows 10
I'll be trying to come up with a pull request.
The text was updated successfully, but these errors were encountered: