-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Please provide us with the following information:
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Run azd up in terminal
Any log messages given by the failure
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplate: Deployment template validation failed: 'The template resource 'https://cog-s2rg2mmpggq2k.openai.azure.com' for type 'Microsoft.CognitiveServices/accounts' at line '1' and column '1154' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.
TraceID: afdc58886616b8f341dfe083fa61f1ea

Expected/desired behavior
Shouldn't fail
OS and Version?
Windows 11; VS Code
Mention any other details that might be useful
azd .env file snapshot
AZURE_ENV_NAME="development"
AZURE_LOCATION="canadaeast"
AZURE_RESOURCE_GROUP="<resource-group-name>"
AZURE_SUBSCRIPTION_ID="<subscription-id>"
Thanks! We'll be in touch soon.