Skip to content

Commit

Permalink
chore: Update AzureQuickDeploy.ps1 script with default region name an…
Browse files Browse the repository at this point in the history
…d random number range
  • Loading branch information
EdiWang committed Jun 17, 2024
1 parent 520b44d commit 65c8e8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Deployment/AzureQuickDeploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ else {

# Get region name

$regionName = Read-Host "Enter region name (default: East Asia)"
$regionName = Read-Host "Enter region name (default: Japan East)"
if ([string]::IsNullOrWhiteSpace($regionName)) {
$regionName = "East Asia"
$regionName = "Japan East"
}
else {
$regionName = $regionName.Trim()
Expand All @@ -69,7 +69,7 @@ while ($true) {
}

# Start script
$rndNumber = Get-Random -Minimum 100 -Maximum 999
$rndNumber = Get-Random -Minimum 1000 -Maximum 9999
$rsgName = "moongladersg$rndNumber"
$dockerImageName = "ediwang/moonglade"
$aspName = "moongladeplan$rndNumber"
Expand Down

0 comments on commit 65c8e8b

Please sign in to comment.