Skip to content

Commit d4595bc

Browse files
Change createdDate to use utcNow function
Updated createdDate parameter to use utcNow function.
1 parent d940bb1 commit d4595bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ var abbrs = loadJsonContent('./abbreviations.json')
137137
@description('Optional created by user name')
138138
param createdBy string = empty(deployer().userPrincipalName) ? '' : split(deployer().userPrincipalName, '@')[0]
139139
@description('Deployment UTC timestamp')
140-
param createdDate string ='yyyy-MM-ddTHH:mm:ssZ'
140+
param createdDate string = any('utcNow(''yyyy-MM-ddTHH:mm:ssZ'')')
141141
// ========== Resource Group Tag ========== //
142142
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143143
name: 'default'

0 commit comments

Comments
 (0)