Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydestro authored Nov 29, 2021
1 parent 3f66cbc commit 0c7d2f6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ If you're not familiar with the format of an SSH public key, you can display you

## Deployment


* Get your subscription ID, set as a variable

SUBSCRIPTION=`az account show --query "id" -o tsv`

* Create a unique [Azure Resource Group](https://cda.ms/2nG). We're using this as a paramater for several portions of the workshop, so please ensure the name is unique. For example `aksbicepcreate`

Shell enviroment variables:
Expand All @@ -42,13 +47,9 @@ Create the RG in shell.

`az group create -n $NAME --location $LOCATION`

* Get your subscription ID

`az account list --query "[?isDefault]"`

* Follow the ["Generate deployment credentials"](https://cda.ms/2kx) and ["Configure the GitHub secrets"](https://cda.ms/2ky) of this guide.

`az ad sp create-for-rbac --name {myApp} --role contributor --scopes /subscriptions/{subscription-id}/resourceGroups/{MyResourceGroup} --sdk-auth`
`az ad sp create-for-rbac --name $NAME --role contributor --scopes /subscriptions/$SUBSCRIPTION/resourceGroups/$NAME --sdk-auth > sp.txt`

* Go to your GitHub repo you created from template. Click Settings, then click Secrets.
* Click "New Repository Secret"
Expand Down

0 comments on commit 0c7d2f6

Please sign in to comment.