You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 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
Service Used
azurefleet
API Versions Used
2024-11-01
Description
For the Azure Fleet API, when creating mixed-mode VMSS with Linux (configured through the baseVirtualMachineProfile in ComputeProfile) and Windows (configured through virtualMachineProfileOverride in AdditionalLocationsProfile), requires that the LinuxConfiguration in virtualMachineProfileOverride must be explicitly set to null. This behavior has been confirmed by the service team and is by design. Similarly, if the OS roles are switched, the WindowsConfiguration in virtualMachineProfileOverride must also be explicitly set to null.
Currently, if LinuxConfiguration is specified as nil in the above situation, the Terraform SDK would omite empty this property, causing the API to return error "The value of parameter linuxConfiguration is invalid". The behavior of the Terraform SDK prevents the Azure Fleet Feature from being onboarded to Terraform.
Expected: SDK supports explicitly specifying LinuxConfiguration/WindowsConfiguration as null value.
Is there an existing issue for this?
Community Note
Service Used
azurefleet
API Versions Used
2024-11-01
Description
For the Azure Fleet API, when creating mixed-mode VMSS with Linux (configured through the baseVirtualMachineProfile in ComputeProfile) and Windows (configured through virtualMachineProfileOverride in AdditionalLocationsProfile), requires that the LinuxConfiguration in virtualMachineProfileOverride must be explicitly set to null. This behavior has been confirmed by the service team and is by design. Similarly, if the OS roles are switched, the WindowsConfiguration in virtualMachineProfileOverride must also be explicitly set to null.
Currently, if
LinuxConfiguration
is specified asnil
in the above situation, the Terraform SDK would omite empty this property, causing the API to return error "The value of parameter linuxConfiguration is invalid". The behavior of the Terraform SDK prevents the Azure Fleet Feature from being onboarded to Terraform.Expected: SDK supports explicitly specifying
LinuxConfiguration
/WindowsConfiguration
as null value.LinuxConfigurationin SDK model:
go-azure-sdk/resource-manager/azurefleet/2024-11-01/fleets/model_virtualmachinescalesetosprofile.go
Line 12 in 62208b6
WindowsConfiguration in SDK model:
go-azure-sdk/resource-manager/azurefleet/2024-11-01/fleets/model_virtualmachinescalesetosprofile.go
Line 15 in 62208b6
References
No response
The text was updated successfully, but these errors were encountered: