The check_resource_group function was being called from AKS mgmt cluster creation, but that invocation apparently expected it to raise exceptions that it does not. I refactored it to return a boolean, which seems to fix az aks create -y in my testing. I also fixed some related unit tests to work regardless of AZURE_LOCATION being set.
Description
History Notes
This checklist is used to make sure that common guidelines for an Azure CLI pull request are followed.
The
check_resource_group
function was being called from AKS mgmt cluster creation, but that invocation apparently expected it to raise exceptions that it does not. I refactored it to return a boolean, which seems to fixaz aks create -y
in my testing. I also fixed some related unit tests to work regardless ofAZURE_LOCATION
being set.Description
History Notes
This checklist is used to make sure that common guidelines for an Azure CLI pull request are followed.