You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/error-invalid-template.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Invalid template errors
3
3
description: Describes how to resolve invalid template errors when deploying Azure Resource Manager templates.
4
4
ms.topic: troubleshooting
5
-
ms.date: 03/08/2018
5
+
ms.date: 05/22/2020
6
6
---
7
7
# Resolve errors for invalid template
8
8
@@ -109,7 +109,7 @@ Getting the segments right can be tricky with Resource Manager types that are ap
109
109
110
110
## Solution 3 - parameter is not valid
111
111
112
-
If you provide a parameter value that is not one of the allowed values, you receive a message similar to the following error:
112
+
If you provide a parameter value that isn't one of the allowed values, you receive a message similar to the following error:
113
113
114
114
```
115
115
Code=InvalidTemplate;
@@ -124,7 +124,7 @@ Double check the allowed values in the template, and provide one during deployme
124
124
125
125
## Solution 4 - Too many target resource groups
126
126
127
-
If you specify more than five target resource groups in a single deployment, you receive this error. Consider either consolidating the number of resource groups in your deployment, or deploying some of the templates as separate deployments. For more information, see [Deploy Azure resources to more than one subscription or resource group](cross-resource-group-deployment.md).
127
+
You may see this error in earlier deployments because you were limited to five target resource groups in a single deployment. In May 2020, that limit was increased to 800 resource groups. For more information, see [Deploy Azure resources to more than one subscription or resource group](cross-resource-group-deployment.md).
128
128
129
129
<aid="circular-dependency" />
130
130
@@ -137,7 +137,7 @@ To solve a circular dependency:
137
137
1. In your template, find the resource identified in the circular dependency.
138
138
2. For that resource, examine the **dependsOn** property and any uses of the **reference** function to see which resources it depends on.
139
139
3. Examine those resources to see which resources they depend on. Follow the dependencies until you notice a resource that depends on the original resource.
140
-
5. For the resources involved in the circular dependency, carefully examine all uses of the **dependsOn** property to identify any dependencies that are not needed. Remove those dependencies. If you are unsure that a dependency is needed, try removing it.
140
+
5. For the resources involved in the circular dependency, carefully examine all uses of the **dependsOn** property to identify any dependencies that aren't needed. Remove those dependencies. If you're unsure that a dependency is needed, try removing it.
141
141
6. Redeploy the template.
142
142
143
143
Removing values from the **dependsOn** property can cause errors when you deploy the template. If you get an error, add the dependency back into the template.
0 commit comments