AI-3019 | All Labs | Issue: Unable to perform deployment using Bicep template | mslearn-postgresql/tree/main/Instructions/Labs

未关闭
#41 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
azure, postgresql

调研方向

从 Allfiles/Labs/Shared/deploy.bicep 和文档中的 az deployment group create 命令开始。检查模板及其参数如何确定资源组或部署的位置,然后将其与订阅支持的区域进行比较。当 AI-3019 labs 的共享部署在允许的区域中成功时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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:

Image

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,

Image

Prod link for the AI-3019 series: https://labondemand.com/LabSeries/33532

Thank you!

主要语言
Bicep
星标
15
派生
39
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

MicrosoftLearning/mslearn-postgresql 的其他 Issue

查看 MicrosoftLearning/mslearn-postgresql 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。