Skip to content

Commit

Permalink
Custom role contains all required permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Feb 24, 2025
1 parent 2106a93 commit dfbb1a0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dev-infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ create-mock-identities:
SUBSCRIPTION_ID=$(shell az account show --query id --output tsv) \
./scripts/create-sp-for-rbac.sh

# Assign additional roles to aro-dev-msi-mock2
@for ROLE in "Managed Identity Contributor" "Network Contributor"; do \
az role assignment create \
--assignee "$(shell az ad sp list --display-name aro-dev-msi-mock2 --query [0].appId -o tsv)" \
--scope "/subscriptions/$(shell az account show --query id --output tsv)" \
--role "$$ROLE"; \
done
.PHONY: create-mock-identities

#
Expand Down

0 comments on commit dfbb1a0

Please sign in to comment.