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:
126
126
IMAGE_TAG="latest"
127
127
fi
128
128
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
+
129
132
az deployment group create \
130
133
--name ${{ env.SOLUTION_PREFIX }}-deployment \
131
134
--resource-group ${{ env.RESOURCE_GROUP_NAME }} \
@@ -135,8 +138,10 @@ jobs:
135
138
aiDeploymentsLocation="eastus" \
136
139
useWafAlignedArchitecture=false \
137
140
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
+
140
145
- name : Assign Contributor role to Service Principal
141
146
if : always()
142
147
run : |
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ resource resourceGroupTags 'Microsoft.Resources/tags@2021-04-01' = {
143
143
tags : {
144
144
...allTags
145
145
TemplateName : 'Code Modernization'
146
+ Type : enablePrivateNetworking ? 'WAF' : 'Non-WAF'
146
147
CreatedBy : createdBy
147
148
}
148
149
}
You can’t perform that action at this time.
0 commit comments