Skip to content

Commit d617cfa

Browse files
committed
add top-level metadata
1 parent e62189f commit d617cfa

File tree

1 file changed

+1
-3
lines changed
  • articles/azure-resource-manager/bicep

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep file structure and syntax
33
description: Describes the structure and properties of a Bicep file using declarative syntax.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 05/01/2023
6+
ms.date: 05/24/2023
77
---
88

99
# Understand the structure and syntax of Bicep files
@@ -84,8 +84,6 @@ module webModule './webApp.bicep' = {
8484

8585
Metadata in Bicep is an untyped value that can be included in Bicep files. It allows you to provide supplementary information about your Bicep files, including details like its name, description, author, creation date, and more.
8686

87-
When assigning identifiers for metadata, [`param`](#parameters), [`var`](#variables), [`resource`](#resources), [`module`](#modules), and [`output`](#outputs), it's important to note that they share the same namespace as [decorators](./parameters.md#decorators) and [Bicep functions](./bicep-functions.md). Therefore, using the same identifier for metadata and a decorator (or a Bicep function) can cause confusion. It's advisable to choose a unique identifier that doesn't conflict with a decorator or a function. For instance, instead of using **description** as the metadata identifier, you could use **bicepDescription** to differentiate it from the **@description** decorator in the preceding example.
88-
8987
## Target scope
9088

9189
By default, the target scope is set to `resourceGroup`. If you're deploying at the resource group level, you don't need to set the target scope in your Bicep file.

0 commit comments

Comments
 (0)