Azure Resource Manager Templates

Skarmankhan
Apr 12, 2021

If you want to deploy the resource in the Azure Cloud platform you can deploy either using User Interface of the azure or else ARM(AZURE RESOURCE MANAGER), Azure Resource Manager is using the JSON file that can easily deployed with the help of PowerShell.

Prerequisite-

  1. Azure Subscription.
  2. PowerShell (To run the two files- parameter & template).

Script Execution-

Try to Connect your PowerShell to Azure Cloud so that you can deploy the resource into your subscription.

Use the following command to execute it.

Connect-AzAccount -TenantId ‘your_tenantId’ -Subscription ‘subscription

Install-Module -Name AZ -Allow Clobber -Scope CurrentUser

$outputs = New-AzDeployment -Location ‘Add_Location’ -TemplateParameterFile ‘<path>\parameters.json’ -TemplateFile ‘<path>\Template.json’

--

--