Skip to content

Commit 5d04ed6

Browse files
committed
delete all management groups that match
1 parent effc74d commit 5d04ed6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/end-to-end-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,12 @@ jobs:
395395
}
396396
397397
$uniqueId = $env:UNIQUE_ID
398+
$shortNamePrefix = "${{ matrix.ShortNamePrefix }}"
398399
399400
Invoke-Build -File ${{ env.POWERSHELL_MODULE_FOLDER }}/src/ALZ.build.ps1 Install | Out-String | Write-Verbose
400401
401402
Remove-PlatformLandingZone `
402-
-ManagementGroups "test-$uniqueId" `
403+
-ManagementGroups "$shortNamePrefix" `
403404
-Subscriptions $env:SUBSCRIPTION_ID_MANAGEMENT, $env:SUBSCRIPTION_ID_CONNECTIVITY, $env:SUBSCRIPTION_ID_IDENTITY, $env:SUBSCRIPTION_ID_SECURITY `
404405
-AdditionalSubscriptions $env:SUBSCRIPTION_ID_BOOTSTRAP `
405406
-SubscriptionsTargetManagementGroup $env:ROOT_PARENT_MANAGEMENT_GROUP_ID `

0 commit comments

Comments
 (0)