diff --git a/Deployment/main.bicep b/Deployment/main.bicep index f1c88558..bf25db41 100644 --- a/Deployment/main.bicep +++ b/Deployment/main.bicep @@ -23,6 +23,17 @@ var resourceGroupLocation = resourceGroup().location // Load the abbrevations file required to name the azure resources. var abbrs = loadJsonContent('./abbreviations.json') +var deployerInfo = deployer() + +resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = { + name: 'default' + properties: { + tags: { + TemplateName: 'DKM' + CreatedBy: split(deployerInfo.userPrincipalName, '@')[0] + } + } +} // Create a storage account module gs_storageaccount 'bicep/azurestorageaccount.bicep' = {