terraform-azurerm-caf icon indicating copy to clipboard operation
terraform-azurerm-caf copied to clipboard

Linux VMSS name cant be longer than 15 chars

Open arnaudlh opened this issue 2 years ago • 1 comments

Currently VMSS creation for both linux and windows use: azurerm_virtual_machine_scale_set which limits the max number of chars to 15 (due to Windows).

Purpose of this issue is to track the replacement in the module of azurerm_virtual_machine_scale_set for the differentiated:

  • azurerm_windows_virtual_machine_scale_set
  • azurerm_linux_virtual_machine_scale_set

arnaudlh avatar Apr 19 '22 07:04 arnaudlh

Hi, I am using standalone modules to deploy virtual machine scale sets by providing name = vmss-devops-sbx-eus2-001. But after deployment, the name automatically changes to "VMSS" although in the Terraform Plan, it shows the changes as well, and in the output, it shows the correct name after Apply, but in the portal, it shows "VMSS" only.

Any solution?

image

image

danishaamirs avatar Jan 16 '24 15:01 danishaamirs