Created
July 2, 2017 15:27
-
-
Save mrik23/3322af5f380c2591049dd6860d090e04 to your computer and use it in GitHub Desktop.
Deploy ARM template with Azure CLI 2.0
This file contains 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
# Connect to Azure | |
az login | |
# Create resource group if necessary | |
az group create --name MyResourceGroup --location "Central US" | |
# Deploy the template to the defined resource group | |
az group deployment create \ | |
--name DeploymentFromCLI \ | |
--resource-group MyResourceGroup \ | |
--template-file azuredeploy.json \ | |
--verbose | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment