File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if([string]::IsNullOrWhiteSpace($location)) {
61
61
$resourceGroup = $deploymentName + $location + " -rg"
62
62
Write-Host " Creating resource group " $resourceGroup
63
63
az group create -- location $location -- name $resourceGroup -- subscription $selectedSubscription
64
- $databaseName = $deploymentName + " db"
64
+ $databaseName = $deploymentName.ToLower () + " db"
65
65
66
66
Write-Host " Deploying Sample application.. (this might take a few minutes)"
67
67
$deploymentOutputs = az deployment group create -- resource- group $resourceGroup -- subscription $selectedSubscription -- mode Incremental -- template- file ./ windows- webapp- template.json -- parameters " webAppName=$deploymentName " -- parameters " hostingPlanName=$deploymentName -host" -- parameters " appInsightsLocation=$location " -- parameters " databaseAccountId=$databaseName " -- parameters " databaseAccountLocation=$location " - o json
@@ -98,4 +98,4 @@ while($true) {
98
98
Write-Host " To delete the app, run command 'az group delete --name $resourceGroup '"
99
99
exit
100
100
}
101
- }
101
+ }
You can’t perform that action at this time.
0 commit comments