Closed TomBeckett closed 1 year ago
Hi,
custom_image = { windows_11_pro = { publisher = "MicrosoftWindowsDesktop" offer = "windows-11" sku = "win11-22h2-pro" version = "latest" } }
This custom image is not in the module's image index, so it throws an error. Please refer to the README for adding custom images.
Section: Custom Virtual Machine images
custom_image = { publisher = "myPublisher" offer = "myOffer" sku = "mySKU" version = "latest" }
Is there an existing issue for this?
Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.5.3
Module Version
1.1.0
AzureRM Provider Version
3.60.0
Affected Resource(s)/Data Source(s)
mod_virtual_machine
Terraform Configuration Files
tfvars variables values
Debug Output/Panic Output
Expected Behaviour
I've seen two different versions of this:
From
variables.tf
OR
From
README.md
Either shape is fine and I would expect a VM that is Windows 11.
Actual Behaviour
Slightly different errors depending on terraform which is used.
Steps to Reproduce
terraform apply
with the terraform above.Important Factoids
No response
References
No response