Skip to content

Commit 71d3ddd

Browse files
Merge pull request #254807 from mumian/1012-param-keyword
cover the param usage in .bicepparam
2 parents 81e02c8 + a875ab7 commit 71d3ddd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
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: 10/05/2023
6+
ms.date: 10/12/2023
77
---
88

99
# Parameters in Bicep
@@ -42,6 +42,14 @@ param demoObject object
4242
param demoArray array
4343
```
4444

45+
The `param` keyword is also used in [.bicepparam files](./parameter-files.md). In .bicepparam files, you don't need to specify the data type as it is defined in Bicep files.
46+
47+
```bicep
48+
param <parameter-name> = <value>
49+
```
50+
51+
For more information, see [Parameters file](./parameter-files.md).
52+
4553
## Default value
4654

4755
You can specify a default value for a parameter. The default value is used when a value isn't provided during deployment.

0 commit comments

Comments
 (0)