-
Notifications
You must be signed in to change notification settings - Fork 81
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
Set-VMSwitch fails when modify. #58
Comments
Hey there, it seems like the powershell command is broken. As soon as you apply the vmmq or vrrs parameters powershell throws that error. Any chance, that we can disable these parameters in this provider? My Setup:
Best regards |
Yeah it seems that it will fail if your Nic doesn't support it. Changing the: to
Seems to stop the error and still succeed on the other splatted resources. Not sure if that's good practice or not but it works. |
I am getting the same error running the examples (i.e. a basic internal switch):
results in:
|
Same boat here. |
Should be closed by #239 |
Hi there,
I am testing this main.tf on my lab environment with Hyper-V installed.
When I apply the plan at certain moment it stops. This is the error:
Error: run command operation returned code=1
stderr:
stdOut:
Set-VMSwitch : Failed while modifying virtual Ethernet switch connection settings.
At C:\Users\Administrator\AppData\Local\Temp\shell-terraform-1qOARATLNPcbVtvz0wmRsxrSQxY.ps1:52 char:1
I am using terraform:
Terraform v0.14.9
Terraform is new for my so I'n not sure what I am doing wrong.
Regards,
Robert
The text was updated successfully, but these errors were encountered: