[59e0da]: / infrastructure / DeployUnified.ps1

Download this file

21 lines (16 with data), 555 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#! /usr/bin/pwsh
param(
[parameter(Mandatory=$true)][string]$resourceGroup,
[parameter(Mandatory=$true)][string]$location,
[parameter(Mandatory=$true)][string]$subscription
)
Write-Host "Login in your account" -ForegroundColor Yellow
az login
Write-Host "Choosing your subscription" -ForegroundColor Yellow
az account set --subscription $subscription
Push-Location $($MyInvocation.InvocationName | Split-Path)
Push-Location Scripts
. "./Deploy-ARM.ps1"
DeployARM -resourceGroup $resourceGroup -location $location
Pop-Location
Pop-Location