Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ param azureCosmosDBAccountResourceId string = ''
var projectName = toLower('${firstProjectName}${uniqueSuffix}')
var cosmosDBName = toLower('${aiServices}${uniqueSuffix}cosmosdb')
var aiSearchName = toLower('${aiServices}${uniqueSuffix}search')
var azureStorageName = toLower('${aiServices}${uniqueSuffix}storage')
//storage account name can only be 24 characters and must not contain special characters
var azureStorageName = take(replace(replace(toLower('${aiServices}${uniqueSuffix}storage'), '-', ''), '_', ''), 24)

// Check if existing resources have been passed in
var storagePassedIn = azureStorageAccountResourceId != ''
Expand Down