Open smartnose opened 8 years ago
Update:
I tried to run it from the browser directly and it works. Not sure what caused it to fail on my local machine (incompatible SDK version?).
Please investigate or close it as you wish.
Update 2:
Nope. It doesn't work even in portal any more (the portal finally caught up with local SDK?)
@gatneil @gbowerman Can you guys look at this?
@smartnose I just tried this template, deploying to portal, scaling an existing VMSS down to 5 and then back up to 10, and it worked both times. The only circumstances I can think of that would generate that error would be if the VMSS name/resource group does not match an existing one so it tries to create a new one?? @gatneil any other ideas?
201-vmss-scale-existing
Issue Details
azuredeploy.json seems out of date (for Azure SDK 2.8 at least).
When running .\Deploy-AzureResourceGroup.ps1, I've got the following error message:
New-AzureRmResourceGroupDeployment : 2:02:09 PM - Resource Microsoft.Compute/virtualMachineScaleSets 'myScaleSetName' failed with message 'Required parameter 'properties' is missing (null).'
I had to insert the following into the json file:
"properties": { "upgradePolicy": { "mode": "Automatic" }, "virtualMachineProfile": { ........................