Skip to content

Commit f73268f

Browse files
committed
update
1 parent 965ec68 commit f73268f

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

articles/azure-resource-manager/bicep/migrate-blueprint.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
---
2-
title: Migrate blueprint to deployment stack
3-
description: Learn how to migrate blueprint to deployment stack
2+
title: Migrate blueprints to deployment stacks
3+
description: Learn how to migrate blueprints to deployment stacks.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
66
ms.date: 10/24/2024
77
---
88

9-
# Migrate blueprint to deployment stack
9+
# Migrate blueprints to deployment stacks
1010

11-
This document outlines the steps to re-author your Blueprint definitions and assignments as deployment stacks. Deplomyment stacks are new platform primitives within the `Microsoft.Resources` namespace, bringing Azure Blueprint capabilities into this space. Deployment stacks enable you to deploy ARM templates/Bicep files to a specified target scope.
11+
This article explains how to convert your Blueprint definitions and assignments into deployment stacks. Deployment stacks are new tools within the `Microsoft.Resources` namespace, bringing Azure Blueprint features into this area.
1212

1313
## Migration steps
1414

15-
1. Export the blueprint definitions into the blueprint definition JSON files which include the artifacts of Azure policies, Azure role assignments, and templates. For more information see [Export your blueprint defintion](../../governance/blueprints/how-to/import-export-ps.md#export-your-blueprint-definition).
16-
2. Convert the blueprint definitio JSON files into a single ARM template or Bicep file to be deployed via deployment stacks with the following considerations:
15+
1. Export the blueprint definitions into the blueprint definition JSON files which include the artifacts of Azure policies, Azure role assignments, and templates. For more information, see [Export your blueprint definition](../../governance/blueprints/how-to/import-export-ps.md#export-your-blueprint-definition).
16+
2. Convert the blueprint definition JSON files into a single ARM template or Bicep file to be deployed via deployment stacks with the following considerations:
1717

18-
- **Role assingments**: Convert any [role assignments](/azure/templates/microsoft.authorization/policyassignments).
19-
- **Policies**: Convert any [policy assignments](/azure/templates/microsoft.authorization/policyassignments) into the Bicep (or ARM JSON template) syntax, and then add them to your main template. You can also embedd the [`policyDefinitions`](/azure/templates/microsoft.authorization/policydefinitions) into the JSON template.
20-
- **Templates**: Convert any templates into a main template for submission to a deployment stack. You can use [modules](./modules.md) in Bicep, embed templates as nested templates or template links, and optionally use [template specs](./template-specs.md) to store your templates in Azure. Template Specs are not required to leverage deployment stacks.
21-
- **Locks**: Deployment stack [DenySettingsMode](./deployment-stacks.md#protect-managed-resources) gives you the ability to block unwanted changes via `DenySettingsMode` (similar to [Blueprint locks](../../governance/blueprints/concepts/resource-locking.md)). You can configure these via Azure CLI or Azure PowerShell. In order to leverage this, you need to corresponding roles to be able to set deny settings. For more information, see [Deployment stacks](./deployment-stacks.md).
18+
- **Role assignments**: Convert any [role assignments](/azure/templates/microsoft.authorization/policyassignments).
19+
- **Policies**: Convert any [policy assignments](/azure/templates/microsoft.authorization/policyassignments) into the Bicep (or ARM JSON template) syntax, and then add them to your main template. You can also embedded the [`policyDefinitions`](/azure/templates/microsoft.authorization/policydefinitions) into the JSON template.
20+
- **Templates**: Convert any templates into a main template for submission to a deployment stack. You can use [modules](./modules.md) in Bicep, embed templates as nested templates or template links, and optionally use [template specs](./template-specs.md) to store your templates in Azure. Template Specs aren't required to use deployment stacks.
21+
- **Locks**: Deployment stack [DenySettingsMode](./deployment-stacks.md#protect-managed-resources) gives you the ability to block unwanted changes via `DenySettingsMode` (similar to [Blueprint locks](../../governance/blueprints/concepts/resource-locking.md)). You can configure these via Azure CLI or Azure PowerShell. In order to do this, you need corresponding roles to be able to set deny settings. For more information, see [Deployment stacks](./deployment-stacks.md).
22+
23+
3. You can optionally create template specs for the converted ARM templates or Bicep files. Template specs allow you to store templates and their versions in your Azure environment, simplifying the sharing of the templates across your organization. Deployment stacks enable you to deploy template spec definitions, or ARM templates/Bicep files, to a specified target scope.
2224

2325
## Sample
2426

25-
The folloing Bicep files is a sample migration file.
27+
The following Bicep file is a sample migration file.
2628

2729
```bicep
2830
targetScope = 'subscription'

0 commit comments

Comments
 (0)