Skip to content

Commit 2f63495

Browse files
committed
choose between module registry and template specs
1 parent dcbe7b2 commit 2f63495

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/azure-resource-manager/bicep/modules.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Bicep modules
33
description: Describes how to define a module in a Bicep file, and how to use module scopes.
44
ms.topic: conceptual
5-
ms.date: 11/19/2021
5+
ms.date: 02/01/2022
66
---
77

88
# Bicep modules
@@ -12,7 +12,11 @@ Bicep enables you to organize deployments into modules. A module is just a Bicep
1212
To share modules with other people in your organization, create a [template spec](../templates/template-specs.md) or [private registry](private-module-registry.md). Template specs and modules in the registry are only available to users with the correct permissions.
1313

1414
> [!TIP]
15-
> The choice between template specs and private registries is mostly a matter of preference. If you're deploying templates or Bicep files without other project artifacts, template specs are an easier option. If you're deploying project artifacts with the templates or Bicep files, you can integrate the private registry with your development work and then more easily deploy all of it from the registry.
15+
> The choice between template specs and private registries is mostly a matter of preference. There are a few things to consider:
16+
>
17+
> - Module registry is only supported by Bicep. If you are not yet using Bicep, use Template Specs.
18+
> - Content in the Bicep module registry can only be deployed from another Bicep file. Template Specs can be deployed directly from the API, command line tools, and the Azure portal. You can even use a `UiFormDefinition` to customize the portal deployment experience.
19+
> - Bicep has limited capabilities for embedding other project artifacts (including non-Bicep and non-ARM-template files. For example, PowerShell scripts, CLI scripts and other binaries) by using the ['loadTextContent'](./bicep-functions-files.md#loadtextcontent) and [loadFileAsBase64](./bicep-functions-files.md#loadfileasbase64) functions. Template Specs can't package these artifacts.
1620
1721
Bicep modules are converted into a single Azure Resource Manager template with [nested templates](../templates/linked-templates.md#nested-template).
1822

0 commit comments

Comments
 (0)