Skip to content

Commit 3c78f9e

Browse files
committed
chore: update lab instructions and region selection
- Remove --location flag from azd env new command (location prompted separately) - Add note about location selection prompt - Reorder allowed regions in main.bicep (westus first for better availability)
1 parent 57b02dc commit 3c78f9e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/lab-instructions.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Now, you'll use the Azure Developer CLI (azd) to *start* provisioning all the ne
162162

163163
An azd environment stores configuration details like subscription ID and location. Create a new environment for this lab (this will be unique to each lab environment):
164164

165-
`azd env new [email protected] --subscription @lab.cloudsubscription.id --location @lab.cloudresourcegroup(ResourceGroup1).Location`
165+
`azd env new [email protected] --subscription @lab.cloudsubscription.id`
166166

167167
4. [] **Set the name suffix for Azure resources:**
168168

@@ -182,6 +182,8 @@ Now, you'll use the Azure Developer CLI (azd) to *start* provisioning all the ne
182182

183183
to provision all the Azure resources needed to run snippy.
184184

185+
If prompted, select a location from the terminal to deploy the Azure resources.
186+
185187
> [!knowledge] This command provisions Azure resources such as:
186188
> * Azure Function App (using the scalable Flex Consumption plan)
187189
> * Azure Storage Account (for Functions operations and state)

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ param environmentName string
77

88
@minLength(1)
99
@description('Primary location for all resources')
10-
@allowed([ 'eastus2', 'westus', 'westus2', 'westus3'])
10+
@allowed([ 'westus', 'westus2', 'westus3', 'eastus2'])
1111
@metadata({
1212
azd: {
1313
type: 'location'

0 commit comments

Comments
 (0)