Skip to content

Commit 20fd8da

Browse files
Merge pull request #256 from microsoft/psl-cpAddCreatedBytag
chore: Bicep changes to add CreatedBy tag
2 parents 271e3a1 + 1094c57 commit 20fd8da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

infra/main.bicep

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,13 +417,14 @@ module applicationInsights 'br/public:avm/res/insights/component:0.6.0' = {
417417
disableLocalAuth: true
418418
}
419419
}
420-
420+
var deployerInfo = deployer()
421421
// ========== Resource Group Tag ========== //
422422
resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
423423
name: 'default'
424424
properties: {
425425
tags: {
426426
TemplateName: 'Content Processing'
427+
CreatedBy: split(deployerInfo.userPrincipalName, '@')[0]
427428
}
428429
}
429430
}

0 commit comments

Comments
 (0)