Skip to content

Commit 60388bb

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent e8bab97 commit 60388bb

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.pipelines/templates/create-or-update-resource.steps.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,8 @@ steps:
100100
#[[ -n $SYSTEM_DEBUG ]] && [[ $SYSTEM_DEBUG =~ $IS_TRUE ]] && set -x || set +x
101101
az upgrade -y
102102
103-
az storage account create \
104-
--name "$STORAGEACCOUNT_NAME" \
105-
--location "$STORAGEACCOUNT_LOCATION" \
106-
--resource-group "$RESOURCEGROUP_NAME" \
107-
--allow-blob-public-access false \
108-
--allow-shared-key-access false \
109-
--tags "$BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" \
110-
"$BUILDTAG_CREATEDBYBUILDID"="$BUILD_BUILDID" \
111-
"$BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
103+
echo "az storage account create --name "$STORAGEACCOUNT_NAME" --location "$STORAGEACCOUNT_LOCATION" --resource-group "$RESOURCEGROUP_NAME" --allow-blob-public-access false --allow-shared-key-access false --tags "$BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" "$BUILDTAG_CREATEDBYBUILDID"="$BUILD_BUILDID" "$BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId""
104+
az storage account create --name "$STORAGEACCOUNT_NAME" --location "$STORAGEACCOUNT_LOCATION" --resource-group "$RESOURCEGROUP_NAME" --allow-blob-public-access false --allow-shared-key-access false --tags "$BUILDTAG_DEFINITIONID"="$SYSTEM_DEFINITIONID" "$BUILDTAG_CREATEDBYBUILDID"="$BUILD_BUILDID" "$BUILDTAG_CREATEDBYAPPID"="$servicePrincipalId"
112105
113106
${{ elseif eq(parameters.resourceType, 'roledefinition') }}:
114107
inlineScript: |

0 commit comments

Comments
 (0)