https://pulumi.com logo
Title
f

future-kite-91191

04/06/2020, 7:15 PM
Hi! Since the introduction of the Azure
WindowsVirtualMachineScaleSet
the scale set extensions are separated into a new resource:
VirtualMachineScaleSetExtension
. In the now deprecated
ScaleSet
resource type, the
Extensions
could be setup inline. Problem with the new way of working, is that some virtual machine extensions need to be added to the target VM scale set at the same time. The error I get now:
Scale Set extensions of handler '{handler name here}' can be added only at the time of VM Scale Set creation
How can I make sure the VM extension is added to the VMSS at the moment the latter is created? Or should I go back to using the
ScaleSet
resource? See also https://www.terraform.io/docs/providers/azurerm/guides/2.0-upgrade-guide.html#new-resources-for-virtual-machines-and-virtual-machine-scale-sets https://discuss.hashicorp.com/t/azurerm-windows-virtual-machine-scale-set-extensions/6388 https://github.com/terraform-providers/terraform-provider-azurerm/issues/5860