Skip to content

Commit 72c27bd

Browse files
committed
Refresh the modules
1 parent 0184e90 commit 72c27bd

14 files changed

+19
-11
lines changed

learn-pr/azure/create-composable-bicep-files-using-modules/1-introduction.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: introduction
88
title: Introduction
99
description: Introduction to creating composable Bicep files by using modules.
10-
ms.date: 09/27/2024
10+
ms.date: 01/31/2025
1111
author: mumian
1212
ms.author: jgao
1313
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/2-create-use-bicep-modules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: learning-content
88
title: Create and use Bicep modules
99
description: Learn about the benefits of Bicep modules, and the basic syntax to create and use modules. Also, learn how modules relate to Azure deployments.
10-
ms.date: 09/27/2024
10+
ms.date: 01/31/2025
1111
author: mumian
1212
ms.author: jgao
1313
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/3-add-parameters-outputs-modules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: learning-content
88
title: Add parameters and outputs to modules
99
description: Learn how to plan the parameters and outputs of your Bicep modules.
10-
ms.date: 09/27/2024
10+
ms.date: 01/31/2025
1111
author: mumian
1212
ms.author: jgao
1313
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/4-exercise-create-use-module.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
unitType: exercise
99
title: Exercise - Create and use a module
1010
description: Create a set of Bicep modules and a template that uses them.
11-
ms.date: 09/27/2024
11+
ms.date: 01/31/2025
1212
author: mumian
1313
ms.author: jgao
1414
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/5-knowledge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: knowledge_check
88
title: Knowledge check
99
description: Check your knowledge.
10-
ms.date: 09/27/2024
10+
ms.date: 01/31/2025
1111
author: mumian
1212
ms.author: jgao
1313
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/6-summary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
unitType: summary
88
title: Summary
99
description: Summary for creating composable Bicep files by using modules.
10-
ms.date: 09/27/2024
10+
ms.date: 01/31/2025
1111
author: mumian
1212
ms.author: jgao
1313
ms.topic: unit

learn-pr/azure/create-composable-bicep-files-using-modules/includes/4-exercise-create-use-module.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ Here, you add the _app_ module to your Bicep template as a starting point.
101101

102102
1. Save the changes to the file.
103103

104+
## Verify your Bicep file
105+
106+
After you've completed all of the preceding changes, your main.bicep file should look like this example:
107+
108+
:::code language="bicep" source="code/4-template-2.bicep" :::
109+
110+
If it doesn't, either copy the example or adjust your template to match the example.
111+
104112
## Deploy the Bicep template to Azure
105113

106114
::: zone pivot="cli"

learn-pr/azure/create-composable-bicep-files-using-modules/includes/code/4-app.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ param appServicePlanName string
1010
@description('The name of the App Service plan SKU.')
1111
param appServicePlanSkuName string
1212

13-
resource appServicePlan 'Microsoft.Web/serverfarms@2023-12-01' = {
13+
resource appServicePlan 'Microsoft.Web/serverfarms@2024-04-01' = {
1414
name: appServicePlanName
1515
location: location
1616
sku: {
1717
name: appServicePlanSkuName
1818
}
1919
}
2020

21-
resource appServiceApp 'Microsoft.Web/sites@2023-12-01' = {
21+
resource appServiceApp 'Microsoft.Web/sites@2024-04-01' = {
2222
name: appServiceAppName
2323
location: location
2424
properties: {

learn-pr/azure/create-composable-bicep-files-using-modules/includes/code/4-cdn.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ param httpsOnly bool
1212

1313
var originName = 'my-origin'
1414

15-
resource cdnProfile 'Microsoft.Cdn/profiles@2024-02-01' = {
15+
resource cdnProfile 'Microsoft.Cdn/profiles@2024-09-01' = {
1616
name: profileName
1717
location: 'global'
1818
sku: {
1919
name: 'Standard_Microsoft'
2020
}
2121
}
2222

23-
resource endpoint 'Microsoft.Cdn/profiles/endpoints@2024-02-01' = {
23+
resource endpoint 'Microsoft.Cdn/profiles/endpoints@2024-09-01' = {
2424
parent: cdnProfile
2525
name: endpointName
2626
location: 'global'

learn-pr/azure/create-composable-bicep-files-using-modules/index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ metadata:
88
description: Build Bicep modules that are reusable, flexible, and shareable. Add parameters, conditions, and outputs to make your modules composable into templates.
99
ms.service: azure-resource-manager
1010
manager: jasongroce
11-
ms.date: 09/27/2024
11+
ms.date: 01/31/2025
1212
author: mumian
1313
ms.author: jgao
1414
ms.topic: module

0 commit comments

Comments
 (0)