Created
August 22, 2020 03:36
-
-
Save MertSenel/bc0c7376ccbb5ab6507771599c7ca5e3 to your computer and use it in GitHub Desktop.
Deploy-AzARMTemplate-region1.ps1
This file contains hidden or 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
#Requires -Module @{ ModuleName = 'Az'; ModuleVersion = '4.2' } | |
[CmdletBinding()] | |
param ( | |
[Parameter()][switch]$WhatIf, | |
[Parameter()][switch]$Test, | |
[Parameter()][switch]$Force | |
) | |
#region Configuration | |
#Deployment Assets Configuration | |
# Go Up one level so you can pick a project folder. | |
# This is here in case you want to keep your script in different folder. | |
$OperationsPath = Split-Path $PSScriptRoot | |
# Target the folder which desired ARM Template and Parameter files are in. | |
$ArmArtifactsPath = "$OperationsPath\infrastructure" | |
#Azure Environment Configuration | |
$TenantId = '#{YOUR-AZUREAD-TENANT-ID}#' | |
$SubscriptionId = '#{YOUR-AZURE-SUBSCRIPTION-ID}#' | |
#endregion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment