Skip to content

Commit 90bfbaa

Browse files
Remove createdDate parameter from main.bicep
Removed createdDate parameter from deployment.
1 parent 3eb9268 commit 90bfbaa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

infra/main.bicep

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ var abbrs = loadJsonContent('./abbreviations.json')
136136

137137
@description('Optional created by user name')
138138
param createdBy string = empty(deployer().userPrincipalName) ? '' : split(deployer().userPrincipalName, '@')[0]
139-
@description('Deployment UTC timestamp')
140-
param createdDate string = any('utcNow(''yyyy-MM-ddTHH:mm:ssZ'')')
139+
141140
// ========== Resource Group Tag ========== //
142141
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143142
name: 'default'
@@ -146,7 +145,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
146145
...allTags
147146
TemplateName: 'Code Modernization'
148147
CreatedBy: createdBy
149-
CreatedDate:createdDate
148+
150149
}
151150
}
152151
}

0 commit comments

Comments
 (0)