Skip to content

Commit ed38809

Browse files
committed
Update az sp instruction
1 parent b900748 commit ed38809

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

terraform/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Command to create a new deployment service principal
22
```
3-
az ad sp create-for-rbac -n DevDeployment --role Contributor --scopes /subscriptions/<insert-subscription-id>
3+
az ad sp create-for-rbac -n DevDeployment --role Contributor --scopes /subscriptions/<insert-subscription-id>/resourceGroups/<resource-group-name> --sdk-auth
44
```
55
Add the JSON output as a secret named `AZURE_CREDENTIALS` to GitHub. I've added this as a secret specific to an environment
66
![alt text](image.png)

0 commit comments

Comments
 (0)