Created
August 22, 2020 03:40
-
-
Save MertSenel/7883d0d402d368be610603ec5a7edf74 to your computer and use it in GitHub Desktop.
Deploy-AzARMTemplate-region4.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Deployment Helpers | |
$ErrorActionPreference = "Stop" | |
if ($Test) { | |
Test-AzResourceGroupDeployment @ARGS | |
exit $LASTEXITCODE | |
} | |
if ($WhatIf) { | |
$WhatIfResult = Get-AzResourceGroupDeploymentWhatIfResult @ARGS ` | |
-ResultFormat FullResourcePayloads | |
$WhatIfResult | |
exit $LASTEXITCODE | |
} | |
#endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment