Skip to content

Commit 17ef083

Browse files
authored
Merge pull request #206796 from mumian/0803-linter-identifier
revise the linter rule sample
2 parents 5015a18 + d8beb25 commit 17ef083

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/azure-resource-manager/bicep/linter-rule-use-stable-resource-identifier.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Linter rule - use stable resource identifier
33
description: Linter rule - use stable resource identifier
44
ms.topic: conceptual
5-
ms.date: 07/21/2022
5+
ms.date: 08/03/2022
66
---
77

88
# Linter rule - use stable resource identifier
@@ -21,9 +21,10 @@ The following example fails this test because `utcNow()` is used in the resource
2121

2222
```bicep
2323
param location string = resourceGroup().location
24+
param time string = utcNow()
2425
2526
resource sa 'Microsoft.Storage/storageAccounts@2021-09-01' = {
26-
name: 'store${toLower(utcNow())}'
27+
name: 'store${toLower(time)}'
2728
location: location
2829
sku: {
2930
name: 'Standard_LRS'

0 commit comments

Comments
 (0)