Skip to content

Commit 7c3c676

Browse files
committed
Specify the Bicep version that supports the decorator
1 parent 5bd4018 commit 7c3c676

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Markdown-formatted text can be used for the description text.
104104

105105
By default, when a Bicep deployment runs, Azure Resource Manager (ARM) creates the resource if it doesn’t exist or updates it if it does. If an existing resource has properties that differ from your template, ARM might attempt to update it—or fail if updates aren’t permitted.
106106

107-
The `@onlyIfNotExists()` decorator instructs ARM to create the resource only if it doesn’t already exist. If the resource is found, ARM skips creation and leaves it unchanged.
107+
With Bicep version v0.38.3 or later, the `@onlyIfNotExists()` decorator instructs ARM to create the resource only if it doesn’t already exist. If the resource is found, ARM skips creation and leaves it unchanged.
108108

109109
## Resource name
110110

0 commit comments

Comments
 (0)