Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.31 KB

File metadata and controls

35 lines (19 loc) · 1.31 KB

Deploy infrastructure using Azure Powershell

Requisites

  1. Install the Azure PowerShell module

Deploy

or deploy this template using the following commands in PowerShell:

Connect to Azure with a browser sign in token:

PS> Connect-AzAccount

Select the subscription you want to deploy your resources to:

PS> Select-AzSubscription -SubscriptionName 'Azure Pass - Sponsorship'

Validate the template:

PS> Test-AzResourceGroupDeployment -ResourceGroupName rg-azure-bootcamp -TemplateFile azuredeploy.json -TemplateParameterFile azuredeploy.parameters.json -v

VERBOSE: 11:43:20 - Template is valid.

Deploy the template:

PS> New-AzResourceGroupDeployment -ResourceGroupName rg-azure-bootcamp -TemplateFile azuredeploy.json -TemplateParameterFile azuredeploy.parameters.json -v

It's mandatory use use lower case for the resources names as we can see here bellow

arm-infrastructure-resources