Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Crynners/AccBot into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Crynners committed Oct 15, 2021
2 parents 0a51793 + 58b2360 commit fa3d4e1
Show file tree
Hide file tree
Showing 4 changed files with 642 additions and 515 deletions.
8 changes: 4 additions & 4 deletions CryptoBotFunction/install_script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ $zipFile = 'AccBot.zip'
$resourceGroupName='AccBot'

$cosmosDBAccountName='accbotcosmosdbaccount-'+$([System.Guid]::NewGuid().ToString())
$cosmosDBAccountName = $cosmosDBAccountName.Substring(0,44)
$cosmosDBAccountName = $cosmosDBAccountName.Substring(0,43) + '0'

$appInsightsName ='appinsights-'+$([System.Guid]::NewGuid().ToString())
$appInsightsName = $appInsightsName.Substring(0,44)
$appInsightsName ='appinsights-' + $([System.Guid]::NewGuid().ToString())
$appInsightsName = $appInsightsName.Substring(0,43) + '0'

$azFunctionName ='azfunc-' + $AccBotName + '-'+$([System.Guid]::NewGuid().ToString())
$azFunctionName = $azFunctionName.Substring(0,44)
$azFunctionName = $azFunctionName.Substring(0,43) + '0'

$randomNumber = Get-Random -Maximum 1000000000
$storageAccountName ='accbotsa' + $randomNumber
Expand Down
Loading

0 comments on commit fa3d4e1

Please sign in to comment.