-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AVM Module Issue]: Deployment failure with VMSS when using Uniform orchestration mode #2088
Comments
Important The "Needs: Triage 🔍" label must be removed once the triage process is complete! Tip For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation. Note This label was added as per ITA06. |
Note The "Type: Bug 🐛" label was added as per ITA21. |
@attbusmolgroup, thanks for submitting this issue for the Important A member of the @Azure/avm-res-compute-virtualmachinescaleset-module-owners-bicep or @Azure/avm-res-compute-virtualmachinescaleset-module-contributors-bicep team will review it soon! |
Warning Tagging the AVM Core Team (@Azure/avm-core-team-technical-bicep) due to a module owner or contributor having not responded to this issue within 3 business days. The AVM Core Team will attempt to contact the module owners/contributors directly. Tip
Note This message was posted as per ITA01BCP. |
@attbusmolgroup thanks for bringing that up. I will look into it |
@attbusmolgroup I was able to reproduce it. Seems like a bug in the resource provider. I will file a bug |
Do we have any idea when will this get fixed? |
Personally loving this bug. OrchestrationMode: 'Uniform' is bugged. Therefore cant use the avm for the creation of devops scale sets. |
@rahalan this is blocking us in a major way |
Check for previous/existing GitHub issues
Issue Type?
Bug
Module Name
avm/res/compute/virtual-machine-scale-set
(Optional) Module Version
No response
Description
When setting Orchestration mode to Uniform, the NetworkApiVersion is still used even though the ternary says its null:
networkApiVersion: (orchestrationMode == 'Flexible') ? '2020-11-01' : null
In order to make it work with Uniform, the whole property needs to be commented out, or else the deployment fails:
Could not find member 'networkApiVersion' on object of type 'VMScaleSetNetworkProfile'. Path 'Properties.UpdateGroups[0].NetworkProfile.networkApiVersion', line 1, position 976. (Code: InvalidJson)
Changing the null to empty string also does not solves the issue.
It seems that if the property is used
(Optional) Correlation Id
No response
The text was updated successfully, but these errors were encountered: