diff --git a/openvidu-deployment/community/singlenode/azure/cf-openvidu-singlenode.bicep b/openvidu-deployment/community/singlenode/azure/cf-openvidu-singlenode.bicep index bf9f8e71..a112fe05 100644 --- a/openvidu-deployment/community/singlenode/azure/cf-openvidu-singlenode.bicep +++ b/openvidu-deployment/community/singlenode/azure/cf-openvidu-singlenode.bicep @@ -1105,7 +1105,7 @@ param storageAccountName string = '' var isEmptyStorageAccountName = storageAccountName == '' -@description('Name of the bucket where OpenVidu will store the recordings. If not specified, a default bucket will be created.') +@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.') param containerName string = '' resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = { diff --git a/openvidu-deployment/pro/elastic/azure/cf-openvidu-elastic.bicep b/openvidu-deployment/pro/elastic/azure/cf-openvidu-elastic.bicep index 7d7538dd..5650dfbe 100644 --- a/openvidu-deployment/pro/elastic/azure/cf-openvidu-elastic.bicep +++ b/openvidu-deployment/pro/elastic/azure/cf-openvidu-elastic.bicep @@ -2057,7 +2057,7 @@ resource blobContainerScaleIn 'Microsoft.Storage/storageAccounts/blobServices/co } } -@description('Name of the bucket where OpenVidu will store the recordings. If not specified, a default bucket will be created.') +@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.') param containerName string = '' var isEmptyContainerName = containerName == '' diff --git a/openvidu-deployment/pro/ha/azure/cf-openvidu-ha.bicep b/openvidu-deployment/pro/ha/azure/cf-openvidu-ha.bicep index 213332aa..ac830755 100644 --- a/openvidu-deployment/pro/ha/azure/cf-openvidu-ha.bicep +++ b/openvidu-deployment/pro/ha/azure/cf-openvidu-ha.bicep @@ -1055,7 +1055,7 @@ var store_secretScriptMaster = reduce( ).value var blobStorageParams = { - storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name + storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name storageAccountKey: listKeys(storageAccount.id, '2021-04-01').keys[0].value storageAccountContainerName: isEmptyContainerName ? 'openvidu-appdata' : '${containerName}' } @@ -1129,7 +1129,7 @@ var userDataParamsMasterNode4 = { base64restart: base64restartMaster keyVaultName: keyVaultName masterNodeNum: '4' - storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name + storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name base64config_blobStorage: base64config_blobStorage } @@ -1468,7 +1468,7 @@ var stopMediaNodeParams = { subscriptionId: subscription().subscriptionId resourceGroupName: resourceGroup().name vmScaleSetName: '${stackName}-mediaNodeScaleSet' - storageAccountName: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name + storageAccountName: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name } var stop_media_nodesScriptMediaTemplate = ''' @@ -1584,7 +1584,7 @@ resource openviduScaleSetMediaNode 'Microsoft.Compute/virtualMachineScaleSets@20 location: location tags: { InstanceDeleteTime: datetime - storageAccount: isEmptyStorageAccountName ? storageAccount.name : exisitngStorageAccount.name + storageAccount: isEmptyStorageAccountName ? storageAccount.name : existingStorageAccount.name } identity: { type: 'SystemAssigned' } sku: { @@ -2984,7 +2984,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' = if (isE } } -resource exisitngStorageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' existing = if (isEmptyStorageAccountName == false) { +resource existingStorageAccount 'Microsoft.Storage/storageAccounts@2023-01-01' existing = if (isEmptyStorageAccountName == false) { name: storageAccountName } @@ -2995,7 +2995,7 @@ resource blobContainerScaleIn 'Microsoft.Storage/storageAccounts/blobServices/co } } -@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created.') +@description('Name of the bucket where OpenVidu will store the recordings if a new Storage account is being creating. If not specified, a default bucket will be created. If you want to use an existing storage account, fill this parameter with the name of the container where the recordings are stored.') param containerName string = '' var isEmptyContainerName = containerName == ''