Skip to content

Commit d40201d

Browse files
authored
Use storagev2 kind (AutomatedLab#1777)
1 parent caec541 commit d40201d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

AutomatedLabCore/functions/Azure/New-LabAzureLabSourcesStorage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
Write-ScreenInfo "No storage account for AutomatedLabSources could not be found, creating it"
4646
$storageAccountName = "automatedlabsources$((1..5 | ForEach-Object { [char[]](97..122) | Get-Random }) -join '')"
47-
New-AzStorageAccount -ResourceGroupName $azureLabSourcesResourceGroupName -Name $storageAccountName -Location $LocationName -Kind Storage -SkuName Standard_LRS | Out-Null
47+
New-AzStorageAccount -ResourceGroupName $azureLabSourcesResourceGroupName -Name $storageAccountName -Location $LocationName -Kind StorageV2 -SkuName Standard_LRS | Out-Null
4848
$storageAccount = Get-AzStorageAccount -ResourceGroupName $azureLabSourcesResourceGroupName | Where-Object StorageAccountName -like automatedlabsources?????
4949
}
5050

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
## Unreleased (2025-08-21)
44

5+
### Changed
6+
57
- Updated `Invoke-LabPester` to scan the `$global:LabSources\CustomRoles` directory for Pester tests (#1764)
8+
- Use Storage Account kind `storagev2` for all new lab sources storages
69

710
### Bugs
811

0 commit comments

Comments
 (0)