diff --git a/rg.bicep b/rg.bicep index 9c3cde1..561fc98 100644 --- a/rg.bicep +++ b/rg.bicep @@ -53,7 +53,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' = { } // Create a container for the packages -resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-01-01' = { +resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-06-01' = { parent: storageAccount name: 'default' } diff --git a/rg_add_eventgrid.bicep b/rg_add_eventgrid.bicep index 4221f28..60d73f5 100644 --- a/rg_add_eventgrid.bicep +++ b/rg_add_eventgrid.bicep @@ -23,7 +23,7 @@ var package_container_name = 'packages' resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' existing = { name: storage_account_name } -resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-01-01' existing = { +resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-06-01' existing = { parent: storageAccount name: 'default' } diff --git a/rg_funcapp.bicep b/rg_funcapp.bicep index 093877a..5466c03 100644 --- a/rg_funcapp.bicep +++ b/rg_funcapp.bicep @@ -44,7 +44,7 @@ resource uami 'Microsoft.ManagedIdentity/userAssignedIdentities@2024-11-30' exis resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' existing = { name: storage_account_name } -resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-01-01' existing = { +resource defBlobServices 'Microsoft.Storage/storageAccounts/blobServices@2025-06-01' existing = { parent: storageAccount name: 'default' }