Skip to content

Commit 36ba9f4

Browse files
Update deploy.yml
1 parent ce36988 commit 36ba9f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
echo "Assigning Log Analytics Contributor role for Log Analytics workspace access at RG level..."
209209
az role assignment create \
210210
--assignee ${{ secrets.AZURE_CLIENT_ID }} \
211-
--role "Log Analytics Contributor" \
211+
--role "Log Analytics Reader" \
212212
--scope /subscriptions/${{ secrets.AZURE_SUBSCRIPTION_ID }}/resourceGroups/${{ env.RESOURCE_GROUP_NAME }} || echo "Log Analytics Contributor role assignment failed (may already exist)"
213213
214214
echo "Waiting for role assignment propagation..."
@@ -439,4 +439,4 @@ jobs:
439439
if: always()
440440
run: |
441441
az logout
442-
echo "Logged out from Azure."
442+
echo "Logged out from Azure."

0 commit comments

Comments
 (0)