File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Azure Storage Account and Associate Log Analytics Workspace
1+ name : Deploy Azure Storage Account and Configure Diagnostic Settings
22
33on :
44 push :
@@ -22,16 +22,22 @@ jobs:
2222 run : |
2323 az group create --name rrblobtest --location "UK South"
2424
25- - name : Deploy Storage Account and Log Analytics Workspace
25+ - name : Deploy Storage Account
2626 run : |
2727 az deployment group create \
2828 --resource-group rrblobtest \
2929 --template-file bicep/storage-account.bicep \
3030 --parameters location="UK South" \
3131 storageAccountName="teststorage20241229" \
3232 containerName="images" \
33- allowedIP="92.16.42.251" \
34- logAnalyticsWorkspaceName="rrlogtest"
33+ allowedIP="92.16.42.251"
34+
35+ - name : Create Log Analytics Workspace
36+ run : |
37+ az monitor log-analytics workspace create \
38+ --resource-group rrblobtest \
39+ --workspace-name rrlogtest \
40+ --location "UK South"
3541
3642 - name : Associate Log Analytics Workspace with Storage Account
3743 run : |
You can’t perform that action at this time.
0 commit comments