Skip to content

Instantly share code, notes, and snippets.

@mrik23
Created July 2, 2017 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrik23/3322af5f380c2591049dd6860d090e04 to your computer and use it in GitHub Desktop.
Save mrik23/3322af5f380c2591049dd6860d090e04 to your computer and use it in GitHub Desktop.
Deploy ARM template with Azure CLI 2.0
# 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