How to Deploy and Test an Arm Template using Azure CLI
To deploy an arm template using the Azure CLI, do the following:
You can also test the deployment before you actually perform the operation. Use the following command to test the arm template deployment:
If the command runs successfully, you can check the portal for your resources.
Cheers
New-AzResourceGroupDeployment -Name ValidateDeployment -ResourceGroupName *nameOfResourceGroup* -TemplateFile *PathToArmTemplate* -TemplateParameterFile *PathToArmTemplateParams*You can also test the deployment before you actually perform the operation. Use the following command to test the arm template deployment:
Test-AzResourceGroupDeployment -ResourceGroupName *nameOfResourceGroup* -TemplateFile *PathToArmTemplate* -TemplateParameterFile *PathToArmTemplateParams*
Comments
Post a Comment