terraform-azurerm-caf
terraform-azurerm-caf copied to clipboard
Feature request-
Is there an existing issue for this?
- [X] I have searched the existing issues
Community Note
- Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
One of my customer is looking forward to spin VMSS using specialized image in compute gallery, when he's running below template, he's getting per [Parameter 'osProfile' is not allowed error ] I've noticed this is an open issue as we can't attach exist os disk to VMSS and it throws this error for both windows, linux machines. Looking forward to understand whether is there any fix that can be provided.
. · Issue #3247 · hashicorp/terraform-provider-azurerm (github.com)](https://github.com/hashicorp/terraform-provider-azurerm/issues/3247)
New or Affected Resource(s
azurerm_windows_virtual_machine, azurerm_linux_virtual_machine
Potential Configuration file
virtual_machine_scale_sets = {
task_vmss = {
resource_group_key = "app_**"
boot_diagnostics_storage_account_key = "bootdiag"
os_type = "linux"
lz_key = "test_dev"
keyvault_key = "test_kv"
vmss_settings = {
name = "taskdev_vm"
computer_name_prefix = "lnx"
sku = "Standard_D2s_v3"
instances = 2
admin_username = "adminuser"
disable_password_authentication = true
provision_vm_agent = true
ultra_ssd_enabled = false # required if planning to use UltraSSD_LRS
upgrade_mode = "Manual" # Automatic / Rolling / Manual
os_disk = {
caching = "ReadWrite"
storage_account_type = "Standard_LRS"
disk_size_gb = 128
}
identity = {
type = "UserAssigned"
managed_identity_keys = ["***"]
}
custom_image_id = "/subscriptions/**"
}
}
References
No response