Deploy resources to subscriptions, management groups, and tenants by using Bicep
Deploy Azure resources at the subscription, management group, and tenant scope. Understand how Azure resources are deployed at different scopes, why this is important, and how to create Bicep code to deploy them. Create a single set of Bicep files that you can deploy across multiple scopes in one operation.
Learning objectives
After completing this module, you'll be able to:
- Explain resource scopes, including tenant-level, management group-level, and subscription-level resources.
- Deploy resources at specific scopes by using Bicep templates.
- Create Bicep files that you can deploy to multiple scopes.
Prerequisites
You should be familiar with:
- Creating and deploying basic Bicep templates.
- Azure, including the Azure portal, subscriptions, resource groups, and resource definitions.
- Child and extension resources.
To follow along with the exercises in the module, you'll need:
- An Azure account, with the ability to create subscription-level resources. For one exercise, which is optional, you'll need to be able to create management groups and policies.
- Visual Studio Code, installed locally.
- The Bicep extension for Visual Studio Code, installed locally.
- Either:
- The latest Azure CLI tools, installed locally.
- The latest version of Azure PowerShell, installed locally.