Skip to content

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

Description

@Ketan-Skillable

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions