File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,8 @@ resource existingLogAnalyticsWorkspace 'Microsoft.OperationalInsights/workspaces
275275
276276var logAnalyticsWorkspaceResourceId = useExistingLogAnalytics ? existingLogAnalyticsWorkspaceId : logAnalyticsWorkspace !.outputs .resourceId
277277
278- @description ('Optional created by user name' )
279- param createdBy string = empty (deployer (). userPrincipalName ) ? '' : split (deployer ().userPrincipalName , '@' )[0 ]
278+ @description ('Tag, Created by user name' )
279+ param createdBy string = contains (deployer (), ' userPrincipalName' )? split (deployer ().userPrincipalName , '@' )[0 ]: deployer (). objectId
280280
281281// ========== Resource Group Tag ========== //
282282resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
You can’t perform that action at this time.
0 commit comments