Install az module if not installed in deploy-stress-tests.ps1 (#2857)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
This commit is contained in:
parent
517902128f
commit
99ff3b04bd
@ -22,6 +22,7 @@ $FailedCommands = New-Object Collections.Generic.List[hashtable]
|
||||
|
||||
. (Join-Path $PSScriptRoot "../Helpers" PSModule-Helpers.ps1)
|
||||
Install-ModuleIfNotInstalled "powershell-yaml" "0.4.1" | Import-Module
|
||||
Install-ModuleIfNotInstalled "az" "6.4.0" | Import-Module
|
||||
|
||||
# Powershell does not (at time of writing) treat exit codes from external binaries
|
||||
# as cause for stopping execution, so do this via a wrapper function.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user