File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ Check the constant variables in `deploy/_vars.ps1`. Make changes if required.
1818
1919 cd deploy
2020 az login
21- deploy-azure.ps1
22- deploy-sprocs.ps1
23- deploy-function.ps1 -FunctionLocation "Australia East "
24- deploy-function.ps1 -FunctionLocation "Australia Southeast "
21+ ./ deploy-azure.ps1
22+ ./ deploy-sprocs.ps1
23+ ./ deploy-function.ps1 -FunctionLocation "australiaeast "
24+ ./ deploy-function.ps1 -FunctionLocation "australiasoutheast "
2525
2626## Requirements
2727
Original file line number Diff line number Diff line change 11[CmdletBinding ()]
22param (
3- [Parameter (Mandatory = $true )] [ValidateSet (' Australia East' , ' Australia Southeast' )] $FunctionLocation
3+ # TODO: Add more regions here
4+ [Parameter (Mandatory = $true )] [ValidateSet (' australiaeast' , ' australiasoutheast' )] $FunctionLocation
45)
56
7+ $ErrorActionPreference = ' Stop'
8+
69. ./ _vars.ps1
710
11+ # TODO: Add more regions here
812$loc = switch ($FunctionLocation ) {
913 ' australiaeast' { ' aue' }
1014 ' australiasoutheast' { ' ase' }
You can’t perform that action at this time.
0 commit comments