Skip to content

Commit 788ce33

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent c948c01 commit 788ce33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.pipelines/templates/artifact-storage.steps.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,13 @@ steps:
409409
inlineScript: |
410410
set -e
411411
[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
412+
az upgrade
413+
az role assignment create --help
412414
413415
az role assignment create \
414416
--role "Storage Blob Data Contributor" \
415-
--assignee "$MANAGEDIDENTITY_OBJECTID" \
416-
--assignee-principal-type "ServicePrincipal" \
417+
--assignee-object-id "$MANAGEDIDENTITY_OBJECTID" \
418+
--assignee-principal-type ServicePrincipal \
417419
--scope "$STORAGEACCOUNT_ID/blobServices/default/containers/$STORAGECONTAINER_NAME"
418420
env:
419421
MANAGEDIDENTITY_OBJECTID: $(managedidentity.ACNCI_MANAGEDIDENTITY_OBJECTID)

0 commit comments

Comments
 (0)