We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9af0d commit 2e40d83Copy full SHA for 2e40d83
infra/main.bicep
@@ -134,7 +134,8 @@ var modelDeployment = {
134
135
var abbrs = loadJsonContent('./abbreviations.json')
136
137
-
+@description('Optional created by user name')
138
+param createdBy string = empty(deployer().userPrincipalName) ? '' : split(deployer().userPrincipalName, '@')[0]
139
140
// ========== Resource Group Tag ========== //
141
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
@@ -143,7 +144,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143
144
tags: {
145
...allTags
146
TemplateName: 'Code Modernization'
147
+ CreatedBy: createdBy
148
}
149
150
0 commit comments