yagmurs / AzureStack-VM-PoC

66 stars 71 forks source link

Region selection ignored in some case (if unsupported providers in region) #7

Closed flyingoverclouds closed 5 years ago

flyingoverclouds commented 6 years ago

the issue happens if : you want to create a new resource group AND you select a region with unsupported providers (for example francecentral : it does not support shutdown schedule). When you clic on "purchase", the validation phase failed because of misson provider in selected region. If you change the region (northeurope), the validation phase still failed because it does not use the new selected region. After some check; it appears the resourcegroup has been created in francecentral and that the validation phase use the region of the resourcegroup instead of the selected region. You have create a new resourcegroup (or delete the existing on) to pass the validation and deploy on the newly selected region.

yagmurs commented 5 years ago

As far as I understand this is the default behaviour if ARM template deployment fails. Auto shutdown resource has now fixed with additional properties and update API version. I believe you won't have any issue in the future. Please also check examples.md and readme.md for examples and updates.