File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ jobs:
150150 gptModelVersion="2024-08-06" \
151151 gptDeploymentCapacity="30" \
152152 aiDeploymentsLocation="${{ env.AZURE_LOCATION }}" \
153+ createdBy="Pipeline" \
153154 --query "properties.outputs" -o json); then
154155 echo "❌ Deployment failed. See logs above."
155156 exit 1
Original file line number Diff line number Diff line change @@ -418,12 +418,15 @@ module applicationInsights 'br/public:avm/res/insights/component:0.6.0' = {
418418 }
419419}
420420
421+ @description ('Optional created by user name' )
422+ param createdBy string = empty (deployer ().userPrincipalName ) ? '' : split (deployer ().userPrincipalName , '@' )[0 ]
421423// ========== Resource Group Tag ========== //
422424resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
423425 name : 'default'
424426 properties : {
425427 tags : {
426428 TemplateName : 'Content Processing'
429+ CreatedBy : createdBy
427430 }
428431 }
429432}
You can’t perform that action at this time.
0 commit comments