I have created a bicep template to create two storage accounts. How to create a container within the storage accounts.
param rgLocation string = resourceGroup().location
param storageNames array = [
'storage1'
'storage2'
]
resource createStorages 'Microsoft.Storage/storageAccounts@2021-06-01' = [for name in storageNames: {
name: '${name}str${uniqueString(resourceGroup().id)}'
location: rgLocation
sku: {
name: 'Standard_LRS'
}
kind: 'StorageV2'
}]