Skip to content

Commit 797f57a

Browse files
authored
Merge pull request #89137 from balazs92117/patch-2
Typo fix
2 parents 2688ff2 + c2b3a4f commit 797f57a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/virtual-machines/linux/image-builder-user-assigned-identity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ Image Builder will use the [user-identity](../../active-directory/managed-identi
9696

9797
```console
9898
# create user assigned identity for image builder to access the storage account where the script is located
99-
idenityName=aibBuiUserId$(date +'%s')
100-
az identity create -g $imageResourceGroup -n $idenityName
99+
identityName=aibBuiUserId$(date +'%s')
100+
az identity create -g $imageResourceGroup -n $identityName
101101

102102
# get identity id
103-
imgBuilderCliId=$(az identity show -g $sigResourceGroup -n $identityName --query clientId -o tsv)
103+
imgBuilderCliId=$(az identity show -g $imageResourceGroup -n $identityName --query clientId -o tsv)
104104

105105
# get the user identity URI, needed for the template
106-
imgBuilderId=/subscriptions/$subscriptionID/resourcegroups/$imageResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$idenityName
106+
imgBuilderId=/subscriptions/$subscriptionID/resourcegroups/$imageResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/$identityName
107107

108108
# download preconfigured role definition example
109109
curl https://raw.githubusercontent.com/azure/azvmimagebuilder/master/solutions/12_Creating_AIB_Security_Roles/aibRoleImageCreation.json -o aibRoleImageCreation.json

0 commit comments

Comments
 (0)