We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47c8fd7 commit 8693cb2Copy full SHA for 8693cb2
.github/workflows/deploy.yml
@@ -200,7 +200,12 @@ jobs:
200
--assignee ${{ secrets.AZURE_CLIENT_ID }} \
201
--role "Contributor" \
202
--scope /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.RESOURCE_GROUP_NAME }}
203
-
+
204
+ echo "Assigning Log Analytics Contributor role for Log Analytics workspace access..."
205
+ az role assignment create \
206
+ --assignee ${{ secrets.AZURE_CLIENT_ID }} \
207
+ --role "Log Analytics Contributor" \
208
+ --scope /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }} || echo "Log Analytics Contributor role assignment failed (may already exist)"
209
210
- name: Get Log Analytics Workspace and OpenAI from Resource Group
211
if: always()
0 commit comments