diff --git a/rg.bicep b/rg.bicep index d815d4a..628b9e8 100644 --- a/rg.bicep +++ b/rg.bicep @@ -42,7 +42,7 @@ var common_storage_properties = { var storage_properties = use_shared_keys ? common_storage_properties : union(common_storage_properties, { allowSharedKeyAccess: false }) -resource storageAccount 'Microsoft.Storage/storageAccounts@2024-01-01' = { +resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' = { name: storage_account_name location: location kind: 'StorageV2' diff --git a/rg_add_eventgrid.bicep b/rg_add_eventgrid.bicep index 6de68ee..aac9e9a 100644 --- a/rg_add_eventgrid.bicep +++ b/rg_add_eventgrid.bicep @@ -20,7 +20,7 @@ param storage_account_name string = 'debianrepo${suffix}' var package_container_name = 'packages' // Define all existing resources -resource storageAccount 'Microsoft.Storage/storageAccounts@2024-01-01' existing = { +resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' existing = { name: storage_account_name } resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2024-01-01' existing = { diff --git a/rg_funcapp.bicep b/rg_funcapp.bicep index bc40e7d..97c329b 100644 --- a/rg_funcapp.bicep +++ b/rg_funcapp.bicep @@ -39,7 +39,7 @@ var applicationInsightsName = appName resource uami 'Microsoft.ManagedIdentity/userAssignedIdentities@2024-11-30' existing = { name: 'uami${suffix}' } -resource storageAccount 'Microsoft.Storage/storageAccounts@2024-01-01' existing = { +resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' existing = { name: storage_account_name } resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2024-01-01' existing = {