Skip to content

Commit 11babf3

Browse files
author
Sheyla Trudo
committed
fixup! Move to Resource Module
1 parent 5e95468 commit 11babf3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,16 @@ steps:
139139
inputs:
140140
buildTagDefinitionIdKey: '${{ parameters.inputs.buildTagDefinitionIdKey }}'
141141
buildTagCreatedByAppIdKey: '${{ parameters.inputs.buildTagCreatedByAppIdKey }}'
142-
${{ if eq(parameters.resourceType, 'managedidentity') }}:
143-
resourceGroupName: '${{ parameters.inputs.resourceGroupName }}'
142+
${{ if eq(parameters.resourceType, 'managedidentity') }}:
143+
resourceGroupName: '${{ parameters.inputs.resourceGroupName }}'
144144

145-
${{ elseif eq(parameters.resourceType, 'roledefinition') }}:
146-
roleDefinitionName: '${{ parameters.inputs.roleDefinitionName }}'
147-
roleDefinitionFileLocation: '${{ parameters.inputs.roleDefinitionFileLocation }}'
148-
subscriptionId: '${{ parameters.inputs.subscriptionId }}'
145+
${{ elseif eq(parameters.resourceType, 'roledefinition') }}:
146+
roleDefinitionName: '${{ parameters.inputs.roleDefinitionName }}'
147+
roleDefinitionFileLocation: '${{ parameters.inputs.roleDefinitionFileLocation }}'
148+
subscriptionId: '${{ parameters.inputs.subscriptionId }}'
149149

150-
${{ elseif eq(parameters.resourceType, 'storageaccounts') }}:
151-
resourceGroupName: '${{ parameters.inputs.resourceGroupName }}'
150+
${{ elseif eq(parameters.resourceType, 'storageaccounts') }}:
151+
resourceGroupName: '${{ parameters.inputs.resourceGroupName }}'
152152

153153

154154
- ${{ if parameters.updateCondition }}:

0 commit comments

Comments
 (0)