You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M06_L12_Azure_Deployments_Using_Resource_Manager_Templates.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ In this task, you will modify the main template to reference the template module
206
206
- A relative path is used for your template module.
207
207
- Use parameters to pass values from the main template to the template modules.
208
208
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).
210
210
211
211
6. Save the template.
212
212
@@ -228,6 +228,16 @@ In this task, you will modify the main template to reference the template module
228
228
5. Follow the same steps to upload the **C:\\templates\\storage.bicep** file too.
229
229
6. From a **Bash** session in the Cloud Shell pane, run the following to perform a deployment by using a newly uploaded template:
230
230
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
+
231
241
```bash
232
242
az deployment group what-if --name az400m06l15deployment --resource-group az400m06l15-RG --template-file main.bicep
233
243
```
@@ -238,19 +248,9 @@ In this task, you will modify the main template to reference the template module
238
248
239
249
10. From a **Bash** session in the Cloud Shell pane, run the following to perform a deployment by using a newly uploaded template:
240
250
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
+
```
254
254
255
255
11. When prompted to provide the value for'adminUsername', type**Student** and press the **Enter** key.
256
256
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