Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit ad7584d

Browse files
authored
Merge pull request #457 from MicrosoftLearning/yas/labm6
LABM612: moved the rg creation up
2 parents 8633c9d + b188ad7 commit ad7584d

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

Instructions/Labs/AZ400_M06_L12_Azure_Deployments_Using_Resource_Manager_Templates.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ In this task, you will modify the main template to reference the template module
206206
- A relative path is used for your template module.
207207
- Use parameters to pass values from the main template to the template modules.
208208

209-
> **Note**: With Azure ARM Templates, you would have used a storage account to upload the linked template to make it easier for others to use them. With Azure Bicep modules, you have the option to upload them to Azure Bicep Module registry which has both public and private registry options. More information can be found on the [Azure Bicep documentation](https://learn.microsoft.com/azure/azure-resource-manager/bicep/modules).
209+
> **Note**: With Azure ARM Templates, you would have used a storage account to upload the linked template to make it easier for others to use them. With Azure Bicep modules, you have the option to upload them to Azure Bicep Module registry which has both public and private registry options. More information can be found on the [Azure Bicep documentation](https://learn.microsoft.com/azure/azure-resource-manager/bicep/modules).
210210
211211
6. Save the template.
212212

@@ -228,6 +228,16 @@ In this task, you will modify the main template to reference the template module
228228
5. Follow the same steps to upload the **C:\\templates\\storage.bicep** file too.
229229
6. From a **Bash** session in the Cloud Shell pane, run the following to perform a deployment by using a newly uploaded template:
230230

231+
```bash
232+
LOCATION='<region>'
233+
```
234+
235+
> **Note**: replace the name of the region with a region close to your location. If you do not know what locations are available, run the `az account list-locations -o table` command.
236+
237+
```bash
238+
az group create --name az400m06l15-RG --location $LOCATION
239+
```
240+
231241
```bash
232242
az deployment group what-if --name az400m06l15deployment --resource-group az400m06l15-RG --template-file main.bicep
233243
```
@@ -238,19 +248,9 @@ In this task, you will modify the main template to reference the template module
238248

239249
10. From a **Bash** session in the Cloud Shell pane, run the following to perform a deployment by using a newly uploaded template:
240250

241-
```bash
242-
LOCATION='<region>'
243-
```
244-
245-
> **Note**: replace the name of the region with a region close to your location. If you do not know what locations are available, run the `az account list-locations -o table` command.
246-
247-
```bash
248-
az group create --name az400m06l15-RG --location $LOCATION
249-
```
250-
251-
```bash
252-
az deployment group create --name az400m06l15deployment --resource-group az400m06l15-RG --template-file main.bicep
253-
```
251+
```bash
252+
az deployment group create --name az400m06l15deployment --resource-group az400m06l15-RG --template-file main.bicep
253+
```
254254

255255
11. When prompted to provide the value for 'adminUsername', type **Student** and press the **Enter** key.
256256
12. When prompted to provide the value for 'adminPassword', type **Pa55w.rd1234** and press the **Enter** key. (Password typing will not be shown)

0 commit comments

Comments
 (0)