Skip to content

Commit adac6af

Browse files
Merge pull request #287318 from mumian/0925-max-variable
Update the variable limit
2 parents 274de98 + 27b6a67 commit adac6af

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Variables in Bicep
33
description: Describes how to define variables in Bicep
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 08/20/2024
6+
ms.date: 09/25/2024
77
---
88

99
# Variables in Bicep
@@ -12,7 +12,7 @@ This article describes how to define and use variables in your Bicep file. You u
1212

1313
Resource Manager resolves variables before starting the deployment operations. Wherever the variable is used in the Bicep file, Resource Manager replaces it with the resolved value.
1414

15-
You're limited to 256 variables in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
15+
You're limited to 512 variables in a Bicep file. For more information, see [Template limits](../templates/best-practices.md#template-limits).
1616

1717
## Define variables
1818

articles/azure-resource-manager/templates/best-practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Best practices for templates
33
description: Describes recommended approaches for authoring Azure Resource Manager templates (ARM templates). Offers suggestions to avoid common problems when using templates.
44
ms.topic: best-practice
55
ms.custom: devx-track-arm-template
6-
ms.date: 09/22/2023
6+
ms.date: 09/25/2024
77
---
88
# ARM template best practices
99

@@ -16,7 +16,7 @@ Limit the size of your template to 4 MB, and each resource definition to 1 MB. T
1616
You're also limited to:
1717

1818
* 256 parameters
19-
* 256 variables
19+
* 512 variables
2020
* 800 resources (including [copy count](copy-resources.md))
2121
* 64 output values
2222
* 10 unique locations per subscription/tenant/management group scope

0 commit comments

Comments
 (0)