From 1094c570879880c2561d6689fe89759332a3d0e0 Mon Sep 17 00:00:00 2001 From: "Niraj Chaudhari (Persistent Systems Inc)" Date: Wed, 3 Sep 2025 13:01:03 +0530 Subject: [PATCH] Bicep changes to add CreatedBy tag --- infra/main.bicep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/main.bicep b/infra/main.bicep index 031d0f6e..c982f793 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -417,13 +417,14 @@ module applicationInsights 'br/public:avm/res/insights/component:0.6.0' = { disableLocalAuth: true } } - +var deployerInfo = deployer() // ========== Resource Group Tag ========== // resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = { name: 'default' properties: { tags: { TemplateName: 'Content Processing' + CreatedBy: split(deployerInfo.userPrincipalName, '@')[0] } } }