Skip to content
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

Add-VmDvdDrive issue #206

Open
Leronar opened this issue May 21, 2023 · 1 comment
Open

Add-VmDvdDrive issue #206

Leronar opened this issue May 21, 2023 · 1 comment

Comments

@Leronar
Copy link

Leronar commented May 21, 2023

Hi!

Terraform Version
Terraform v1.4.6

Affected Resource(s)

hyperv_machine_instance
dvd_drives

Expected Behavior
Add dvd to VM with iso.

Actual Behavior
When i try add dvd-drive to VM:
dvd_drives {
+ controller_location = 1
+ controller_number = 0
+ path = "С:\1\CentOS7.iso"
}
+ Add-VmDvdDrive @NewVmDvdDriveArgs │ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │ + CategoryInfo : NotSpecified: (:) [Add-VMDvdDrive], VirtualizationException │ + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.AddVMDvdDrive │ │ with hyperv_machine_instance.default, │ on main.tf line 40, in resource "hyperv_machine_instance" "default": │ 40: resource "hyperv_machine_instance" "default" {

@taliesins
Copy link
Owner

Would it be possible to provide a minimum example to replicate the issue. I can't reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants