File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,9 @@ jobs:
126126 IMAGE_TAG="latest"
127127 fi
128128
129+ # Generate current timestamp in desired format: YYYY-MM-DDTHH:MM:SS.SSSSSSSZ
130+ current_date=$(date -u +"%Y-%m-%dT%H:%M:%S.%7NZ")
131+
129132 az deployment group create \
130133 --name ${{ env.SOLUTION_PREFIX }}-deployment \
131134 --resource-group ${{ env.RESOURCE_GROUP_NAME }} \
@@ -135,8 +138,10 @@ jobs:
135138 aiDeploymentsLocation="eastus" \
136139 useWafAlignedArchitecture=false \
137140 capacity=${{ env.GPT_MIN_CAPACITY }} \
138- imageVersion="${IMAGE_TAG}"\
139- createdBy="Pipeline"
141+ imageVersion="${IMAGE_TAG}" \
142+ createdBy="Pipeline" \
143+ tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
144+
140145 - name : Assign Contributor role to Service Principal
141146 if : always()
142147 run : |
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143143 tags : {
144144 ...allTags
145145 TemplateName : 'Code Modernization'
146+ Type : enablePrivateNetworking ? 'WAF' : 'Non-WAF'
146147 CreatedBy : createdBy
147148 }
148149 }
You can’t perform that action at this time.
0 commit comments