Skip to content

Commit 002ba4a

Browse files
Merge pull request #291548 from LiSeda/LS-params3
LS_Bicep parameters_batch 3
2 parents f43cb69 + 4774a27 commit 002ba4a

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

articles/azure-resource-manager/bicep/msbuild-bicep-file.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Use MSBuild to convert Bicep to JSON
33
description: Use MSBuild to convert a Bicep file to Azure Resource Manager template (ARM template) JSON.
4-
ms.date: 07/11/2024
4+
ms.date: 12/06/2024
55
ms.topic: quickstart
66
ms.custom: devx-track-bicep, devx-track-arm-template
77

@@ -10,7 +10,7 @@ ms.custom: devx-track-bicep, devx-track-arm-template
1010

1111
# Quickstart: Use MSBuild to convert Bicep to JSON
1212

13-
Learn the process of utilizing [MSBuild](/visualstudio/msbuild/msbuild) for the conversion of Bicep files to Azure Resource Manager JSON templates (ARM templates). Additionally, MSBuild can be utilized for the conversion of [Bicep parameter files](./parameter-files.md?tabs=Bicep) to [Azure Resource Manager parameter files](../templates/parameter-files.md) with the NuGet packages version 0.23.x or later. The provided examples demonstrate the use of MSBuild from the command line with C# project files for the conversion. These project files serve as examples that can be utilized in an MSBuild continuous integration (CI) pipeline.
13+
Learn the process of utilizing [MSBuild](/visualstudio/msbuild/msbuild) for the conversion of Bicep files to Azure Resource Manager JSON templates (ARM templates). Additionally, MSBuild can be utilized for the conversion of [Bicep parameters files](./parameter-files.md?tabs=Bicep) to [Azure Resource Manager parameters files](../templates/parameter-files.md) with the NuGet packages version 0.23.x or later. The provided examples demonstrate the use of MSBuild from the command line with C# project files for the conversion. These project files serve as examples that can be utilized in an MSBuild continuous integration (CI) pipeline.
1414

1515
## Prerequisites
1616

@@ -29,7 +29,7 @@ In certain environments, using a single package feed helps prevent problems aris
2929

3030
## MSBuild tasks and Bicep packages
3131

32-
From your continuous integration (CI) pipeline, you can use MSBuild tasks and CLI packages to convert Bicep files and Bicep parameter files into JSON. The functionality relies on the following NuGet packages:
32+
From your continuous integration (CI) pipeline, you can use MSBuild tasks and CLI packages to convert Bicep files and Bicep parameters files into JSON. The functionality relies on the following NuGet packages:
3333

3434
| Package Name | Description |
3535
| ---- |---- |
@@ -118,7 +118,7 @@ The latest NuGet package versions match the latest [Bicep CLI](./bicep-cli.md) v
118118

119119
### Project file examples
120120

121-
The following examples show how to configure C# console application project files for converting Bicep files and Bicep parameter files to JSON. Replace `__LATEST_VERSION__` with the latest version of the [Bicep NuGet packages](https://www.nuget.org/packages/Azure.Bicep.Core/) in the following examples. See [MSBuild tasks and Bicep packages](#msbuild-tasks-and-bicep-packages) for finding the latest version.
121+
The following examples show how to configure C# console application project files for converting Bicep files and Bicep parameters files to JSON. Replace `__LATEST_VERSION__` with the latest version of the [Bicep NuGet packages](https://www.nuget.org/packages/Azure.Bicep.Core/) in the following examples. See [MSBuild tasks and Bicep packages](#msbuild-tasks-and-bicep-packages) for finding the latest version.
122122

123123
#### SDK-based example
124124

@@ -277,7 +277,7 @@ Use the classic example only if the previous examples don't work for you. In thi
277277

278278
## Convert Bicep to JSON
279279

280-
These examples demonstrate the conversion of a Bicep file and a Bicep parameter file to JSON using MSBuild. Start by creating a project file for .NET, .NET Core 3.1, or the Classic framework. Then, generate the Bicep file and the Bicep parameter file before running MSBuild.
280+
These examples demonstrate the conversion of a Bicep file and a Bicep parameters file to JSON using MSBuild. Start by creating a project file for .NET, .NET Core 3.1, or the Classic framework. Then, generate the Bicep file and the Bicep parameters file before running MSBuild.
281281

282282
### Create project
283283

@@ -402,7 +402,7 @@ You need a Bicep file and a BicepParam file to be converted to JSON.
402402
403403
### Run MSBuild
404404
405-
Run MSBuild to convert the Bicep file and the Bicep parameter file to JSON.
405+
Run MSBuild to convert the Bicep file and the Bicep parameters file to JSON.
406406
407407
1. Open a Visual Studio Code terminal session.
408408
1. In the PowerShell session, go to the folder that contains the project file. For example, the _C:\msBuildDemo_ directory.

articles/azure-resource-manager/bicep/parameter-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create parameters files for Bicep deployment
33
description: Create parameters file for passing in values during deployment of a Bicep file.
44
ms.topic: how-to
55
ms.custom: devx-track-bicep
6-
ms.date: 12/04/2024
6+
ms.date: 12/06/2024
77
---
88

99
# Create parameters files for Bicep deployment

articles/azure-resource-manager/bicep/parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Parameters in Bicep files
33
description: Describes how to define parameters in a Bicep file.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 08/20/2024
6+
ms.date: 12/06/2024
77
---
88

99
# Parameters in Bicep
@@ -292,5 +292,5 @@ resource vnet 'Microsoft.Network/virtualNetworks@2023-11-01' = {
292292
## Next steps
293293

294294
- To learn about the available properties for parameters, see [Understand the structure and syntax of Bicep files](file.md).
295-
- To learn about passing in parameter values as a file, see [Create a Bicep parameter file](parameter-files.md).
295+
- To learn about passing in parameter values as a file, see [Create a Bicep parameters file](parameter-files.md).
296296
- To learn about providing parameter values at deployment, see [Deploy with Azure CLI](./deploy-cli.md), and [Deploy with Azure PowerShell](./deploy-powershell.md).

articles/azure-resource-manager/bicep/quickstart-create-bicep-use-visual-studio-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create Bicep files - Visual Studio Code
33
description: Use Visual Studio Code and the Bicep extension to Bicep files for deploy Azure resources.
4-
ms.date: 12/04/2024
4+
ms.date: 12/06/2024
55
ms.topic: quickstart
66
ms.custom: mode-ui, devx-track-bicep
77
#Customer intent: As a developer new to Azure deployment, I want to learn how to use Visual Studio Code to create and edit Bicep files so that I can use them to deploy Azure resources.
@@ -256,9 +256,9 @@ The visualizer shows the resources defined in the Bicep file with the resource d
256256

257257
:::image type="content" source="./media/quickstart-create-bicep-use-visual-studio-code/vscode-bicep-deploy-resource-group-locations.png" alt-text="Screenshot of resource group location options.":::
258258

259-
1. From **Select a parameter file**, select **None**.
259+
1. From **Select a parameters file**, select **None**.
260260

261-
:::image type="content" source="./media/quickstart-create-bicep-use-visual-studio-code/vscode-bicep-deploy-select-parameter-file.png" alt-text="Screenshot of Select parameter file.":::
261+
:::image type="content" source="./media/quickstart-create-bicep-use-visual-studio-code/vscode-bicep-deploy-select-parameter-file.png" alt-text="Screenshot of Select parameters file.":::
262262

263263
It takes a few moments to create the resources. For more information, see [Deploy Bicep files with Visual Studio Code](./deploy-vscode.md).
264264

articles/azure-resource-manager/bicep/scenarios-secrets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: johndowns
55
ms.author: jodowns
66
ms.topic: conceptual
77
ms.custom: devx-track-bicep
8-
ms.date: 06/20/2024
8+
ms.date: 12/06/2024
99
---
1010
# Manage secrets by using Bicep
1111

@@ -190,7 +190,7 @@ param securePassword = az.getSecret('<subscriptionId>', '<resourceGroupName>', '
190190

191191
When you deploy your Azure resources by using a pipeline, you need to take care to handle your secrets appropriately.
192192

193-
- Avoid storing secrets in your code repository. For example, don't add secrets to parameter files, or to your pipeline definition YAML files.
193+
- Avoid storing secrets in your code repository. For example, don't add secrets to parameters files or to your pipeline definition YAML files.
194194
- In GitHub Actions, use [encrypted secrets](https://docs.github.com/actions/security-guides/encrypted-secrets) to store secure data. Use [secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning) to detect any accidental commits of secrets.
195195
- In Azure Pipelines, use [secret variables](/azure/devops/pipelines/process/variables#secret-variables) to store secure data.
196196

0 commit comments

Comments
 (0)