AI-3019 | All Labs | Issue: Unable to perform deployment using Bicep template | mslearn-postgresql/tree/main/Instructions/Labs
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- azure, postgresql
- Domain
- cloud, databases, infrastructure
Research direction
Start with Allfiles/Labs/Shared/deploy.bicep and the documented az deployment group create command. Check how the template and its parameters determine the resource-group or deployment location, then compare that with the subscription's supported regions. Done means the shared deployment succeeds for the AI-3019 labs in a permitted region.
Written by the indexing model from the issue text.
Description
Hello Team,
We are facing issues while executing the Bicep deployment script which provisions the Azure services into the resource group. This script is used in all the labs for AI-3019 and the resources deployed include an Azure Database for PostgreSQL flexible server, Azure OpenAI, and an Azure AI Language service.
Script: az deployment group create --resource-group $RG_NAME --template-file "mslearn-postgresql/Allfiles/Labs/Shared/deploy.bicep" --parameters restore=false adminLogin=pgAdmin adminLoginPassword=$ADMIN_PASSWORD
Error:
The error message suggests that "Subscriptions are restricted from provisioning in location 'eastus".
We tested with another region, however, it seems the resource group name is tied with the location "eastus" in the bicep template and hence the deployment fails with the below error,
Prod link for the AI-3019 series: https://labondemand.com/LabSeries/33532
Thank you!
- Dominant language
- Bicep
- Stars
- 15
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MicrosoftLearning/mslearn-postgresql
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
MicrosoftLearning/mslearn-postgresql#43 · 2 comments · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in MicrosoftLearning/mslearn-postgresql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
platform-mesh/helm-charts#2521 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
n8n-io/terraform-aws-n8n#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
carverauto/serviceradar#4596 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
reflex-dev/reflex#7296 · 1 comment ·