Skip to content

Instantly share code, notes, and snippets.

@MertSenel
Created August 22, 2020 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MertSenel/a4edcf5abfb4a01895b26eb38b598479 to your computer and use it in GitHub Desktop.
Save MertSenel/a4edcf5abfb4a01895b26eb38b598479 to your computer and use it in GitHub Desktop.
Deploy-AzARMTemplate-region3.ps1
#region Service Constants
$ProjectName = 'mert'
$Stage = 'dev'
$ServiceType = 'fnc'
$Region = "wus"
#endregion
#region Service Curated Parameters
$ResourceGroupName = $ProjectName + $Stage + $ServiceType + $Region + '01'
$TemplateFile = "$ArmArtifactsPath\template.json"
$TemplateParameterFile = "$ArmArtifactsPath\parameters.$Stage.$($Region)01.json"
$ARGS = @{
ResourceGroupName = $ResourceGroupName
TemplateFile = $TemplateFile
TemplateParameterFile = $TemplateParameterFile
Mode = 'Incremental'
Verbose = $true
ErrorAction = 'Stop'
}
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment