Resource scopes
There are four different modes of deployment you can utilize:
- Resource group
- Subscription
- Management group
- Tenant
If you are not familiar with these concepts, feel free to refer to the official documentation at https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-setup-guide/organize-resources?tabs=AzureManagementGroupsAndHierarchy.
You can deploy your templates at each of these scope levels without specifying the target scope within the file. Each of these scopes would require a command when it comes to deployment, whether you are using the Azure CLI or Azure PowerShell.
For example, in the Azure CLI, for a resource group, it is az deployment group create
, whereas, for a subscription, it will be az deployment sub create
.
In Azure PowerShell, different commands will be required, such as New-AzResourceGroupDeployment
and New-AzSubscriptionDeployment
. For more details, please visit https://docs.microsoft.com...