cloudeteer / terraform-azurerm-vm

☁️ Cloudeteer's Terraform AzureRM virtual machine module
https://www.cloudeteer.de
MIT License
6 stars 0 forks source link

[Feature Request]: Support `hotpatching` for VMs #28

Closed jkroepke closed 2 months ago

jkroepke commented 2 months ago

Feature Description

ref:

Use Case

On a customer situation, we need hotpatching for all Azure VMs that we deploy.

On TF side, hotpatching is just an property which has dependency against other properties.

The important part is that hotpatching requires a special image.

Windows Server 2022 Datacenter: Azure Edition Hotpatch – Gen2

Is there an short image name availible as well?

Additional Information

No response

Privacy Statement

Code of Conduct

rswrz commented 2 months ago

Is there an short image name availible as well?

There is no URN alias for the image Windows Server 2022 Datacenter: Azure Edition Hotpatch – Gen2. Currently, URN aliases are only available for Azure “Getting Started” images, which can be listed using the command az vm image list.

However, you can create custom URN aliases. If Windows Server 2022 Datacenter: Azure Edition Hotpatch – Gen2 is frequently used in your deployments, creating an alias makes sense. Otherwise, I recommend using the full image URN during deployment.

image = "MicrosoftWindowsServer:WindowsServer:2022-datacenter-azure-edition-hotpatch:latest"