Skip to content

Commit bdf04d3

Browse files
Remove 'CreatedBy' tag from resource group
1 parent 8721a32 commit bdf04d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

infra/main.bicep

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ var modelDeployment = {
134134

135135
var abbrs = loadJsonContent('./abbreviations.json')
136136

137-
@description('Optional created by user name')
138-
param createdBy string = empty(deployer().userPrincipalName) ? '' : split(deployer().userPrincipalName, '@')[0]
137+
139138

140139
// ========== Resource Group Tag ========== //
141140
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
@@ -144,7 +143,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
144143
tags: {
145144
...allTags
146145
TemplateName: 'Code Modernization'
147-
CreatedBy: createdBy
146+
148147
}
149148
}
150149
}

0 commit comments

Comments
 (0)