Skip to content

Commit 120ad8b

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent b2331b0 commit 120ad8b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,20 @@ steps:
419419
STORAGEACCOUNT_ID: $(artifact_storage.ACNCI_STORAGEACCOUNT_ID)
420420
STORAGECONTAINER_NAME: $(artifact_storage.ACNCI_STORAGEACCOUNT_CONTAINER_NAME)
421421

422+
- template: create-or-update-resource.steps.yaml
423+
parameters:
424+
serviceConnection: $(ACN_TEST_SERVICE_CONNECTION)
425+
resourceType: managedidentity
426+
refreshAfterCreation: True
427+
createCondition: False
428+
updateCondition: succeeded()
429+
inputs:
430+
managedIdentityName: $(managedidentity.ACNCI_MANAGEDIDENTITY_NAME)
431+
resourceGroupName: $(resourcegroups.ACNCI_BUILD_RESOURCEGROUP)
432+
buildTagDefinitionIdKey: $(ACNCI_BUILDTAG_DEFINITIONID)
433+
buildTagCreatedByAppIdKey: $(ACNCI_BUILDTAG_CREATEDBYAPPID)
434+
buildTagCreatedByBuildIdKey: $(ACNCI_BUILDTAG_CREATEDBYBUILDID)
435+
422436
- task: AzureCLI@2
423437
displayName: "[Test] Blob Access"
424438
continueOnError: true

0 commit comments

Comments
 (0)