azure-dev
azure-dev copied to clipboard
[Issue] Azure Free Subscription: The template deployment is not valid according to the validation procedure
- [x] Make sure you've installed the latest version using instructions in the wiki
Describe the bug
With Azure Free Subscription, one Azure location can only have one project/deployment. Test on windows desktop with 0.1.0-beta.4
. This error occurs only if users choose East US 2 as Azure location and there's already one deployment in East US 2.
Deployment Error Details:
MaxNumberOfEnvironmentsInSubExceeded: The subscription 'ef289fdc-500c-4099-82d0-d9e50d19d7a7' cannot have more than 1 environments in East US 2.
This error occurs on each template if the Azure location is used for another deployment. If I didn't see MaxNumberOfEnvironmentsInSubExceeded
error message. I wouldn't quickly define the reason of this InvalidTemplateDeployment
error.
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'hemarina-test28' is not valid according to the validation procedure. The tracking id is 'e181f830-4eff-47ed-b69b-86f6544fda69'. See inner errors for details.
To Reproduce
Run azd up
on same Azure location with more than one deployment of templates.
Expected behavior
This seems like a restriction with Azure Free Subscription and users might not be able to fix it when seeing deployment not valid
. We should at least document it in F&Q