Skip to content

Commit cca1edc

Browse files
committed
fixes headings
1 parent 26ddc78 commit cca1edc

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

articles/azure-resource-manager/troubleshooting/error-invalid-template.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Invalid template errors
33
description: Describes how to resolve invalid template errors when deploying Bicep files or Azure Resource Manager templates (ARM templates).
44
ms.topic: troubleshooting
5-
ms.date: 12/20/2021
5+
ms.date: 09/12/2022
66
---
77

88
# Resolve errors for invalid template
@@ -26,7 +26,7 @@ This error can result from several different types of errors. They usually invol
2626

2727
<a id="syntax-error"></a>
2828

29-
## Solution 1 - syntax error
29+
## Solution 1: Syntax error
3030

3131
If you receive an error message that indicates the template failed validation, you may have a syntax problem in your template.
3232

@@ -56,13 +56,13 @@ When you receive this type of error, review the expression's syntax. To identify
5656

5757
<a id="incorrect-segment-lengths"></a>
5858

59-
## Solution 2 - incorrect segment lengths
59+
## Solution 2: Incorrect segment lengths
6060

6161
Another invalid template error occurs when the resource name isn't in the correct format. To resolve that error, see [Resolve errors for name and type mismatch](error-invalid-name-segments.md).
6262

6363
<a id="parameter-not-valid"></a>
6464

65-
## Solution 3 - parameter isn't valid
65+
## Solution 3: Parameter isn't valid
6666

6767
You can specify a parameter's allowed values in a template. During deployment, if you provide a value that isn't an allowed value, you receive a message similar to the following error:
6868

@@ -77,13 +77,13 @@ Check the template for the parameter's allowed values, and use an allowed value
7777

7878
<a id="too-many-resource-groups"></a>
7979

80-
## Solution 4 - too many target resource groups
80+
## Solution 4: Too many target resource groups
8181

8282
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 how to deploy to multiple resource groups for [Bicep](../bicep/deploy-to-resource-group.md#deploy-to-multiple-resource-groups) or [ARM templates](../templates/deploy-to-resource-group.md#deploy-to-multiple-resource-groups).
8383

8484
<a id="circular-dependency"></a>
8585

86-
## Solution 5 - circular dependency detected
86+
## Solution 5: Circular dependency detected
8787

8888
You receive this error when resources depend on each other in a way that prevents the deployment from starting. A combination of interdependencies makes two or more resource wait for other resources that are also waiting. For example, resource1 depends on resource3, resource2 depends on resource1, and resource3 depends on resource2. You can usually solve this problem by removing unnecessary dependencies.
8989

articles/azure-resource-manager/troubleshooting/error-job-size-exceeded.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: Job size exceeded error
3-
description: Describes how to troubleshoot errors when job size or template are too large for deployments using a Bicep file or Azure Resource Manager template (ARM template).
3+
description: Describes how to troubleshoot errors for job size exceeded or if the template is too large for deployments using a Bicep file or Azure Resource Manager template (ARM template).
44
ms.topic: troubleshooting
5-
ms.date: 12/20/2021
5+
ms.date: 09/12/2022
66
---
77

88
# Resolve errors for job size exceeded
99

10-
This article describes how to resolve the `JobSizeExceededException` and `DeploymentJobSizeExceededException` errors. The errors can occur when you deploy a Bicep file or Azure Resource Manager template (ARM template).
10+
This article describes how to resolve the `JobSizeExceededException` and `DeploymentJobSizeExceededException` errors. The job size exceeded errors can occur when you deploy a Bicep file or Azure Resource Manager template (ARM template).
1111

1212
## Symptom
1313

@@ -29,7 +29,7 @@ Other template limits are:
2929
- 64 output values
3030
- 24,576 characters in a template expression
3131

32-
## Solution 1 - use dependencies carefully
32+
## Solution 1: Use dependencies carefully
3333

3434
# [Bicep](#tab/bicep)
3535

@@ -53,7 +53,7 @@ dependsOn: [
5353

5454
---
5555

56-
## Solution 2 - simplify template
56+
## Solution 2: Simplify template
5757

5858
# [Bicep](#tab/bicep)
5959

@@ -70,7 +70,7 @@ You can set other resources as dependent on the linked template, and [get values
7070

7171
---
7272

73-
## Solution 3 - reduce name size
73+
## Solution 3: Reduce name size
7474

7575
# [Bicep](#tab/bicep)
7676

articles/azure-resource-manager/troubleshooting/error-parent-resource.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Parent resource errors
33
description: Describes how to resolve errors when you deploy a resource that's dependent on a parent resource in a Bicep file or Azure Resource Manager template (ARM template).
44
ms.topic: troubleshooting
5-
ms.date: 12/20/2021
5+
ms.date: 09/12/2022
66
---
77

88
# Resolve errors for parent resources
@@ -25,7 +25,7 @@ When one resource is a child to another resource, the parent resource must exist
2525
# [Bicep](#tab/bicep)
2626

2727
```bicep
28-
resource sqlDatabase 'Microsoft.Sql/servers/databases@2021-05-01-preview' = {
28+
resource sqlDatabase 'Microsoft.Sql/servers/databases@2022-02-01-preview' = {
2929
name: '${sqlServerName}/${databaseName}'
3030
...
3131
}
@@ -50,7 +50,7 @@ If you deploy the server and the database in the same template, but don't specif
5050

5151
If the parent resource already exists and isn't deployed in the same template, you get the `ParentResourceNotFound` error when Resource Manager can't associate the child resource with a parent. This error might happen when the child resource isn't in the correct format. Or if the child resource is deployed to a resource group that's different than the resource group for parent resource.
5252

53-
## Solution 1 - deployed in same template
53+
## Solution 1: Deployed in same template
5454

5555
To resolve this error when parent and child resources are deployed in the same template, use a dependency.
5656

@@ -59,7 +59,7 @@ To resolve this error when parent and child resources are deployed in the same t
5959
This example uses a nested child resource within the parent resource and that creates the dependency. The child gets the resource type and API version from the parent resource.
6060

6161
```bicep
62-
resource sqlServer 'Microsoft.Sql/servers@2021-05-01-preview' = {
62+
resource sqlServer 'Microsoft.Sql/servers@2022-02-01-preview' = {
6363
name: sqlServerName
6464
properties: {
6565
...
@@ -87,7 +87,7 @@ For more information about `dependsOn`, see [Define the order for deploying reso
8787

8888
---
8989

90-
## Solution 2 - deployed in different templates
90+
## Solution 2: Deployed in different templates
9191

9292
To resolve this error when the parent resource was deployed in a different template, don't set a dependency. Instead, deploy the child to the same resource group and provide the name of the parent resource.
9393

@@ -100,11 +100,11 @@ param location string = resourceGroup().location
100100
param sqlServerName string
101101
param databaseName string
102102
103-
resource sqlServer 'Microsoft.Sql/servers@2021-05-01-preview' existing = {
103+
resource sqlServer 'Microsoft.Sql/servers@2022-02-01-preview' existing = {
104104
name: sqlServerName
105105
}
106106
107-
resource sqlDatabase 'Microsoft.Sql/servers/databases@2021-05-01-preview' = {
107+
resource sqlDatabase 'Microsoft.Sql/servers/databases@2022-02-01-preview' = {
108108
parent: sqlServer
109109
name: databaseName
110110
location: location
@@ -130,7 +130,7 @@ The `name` element uses the names of the parent resource and child resources.
130130
"resources": [
131131
{
132132
"type": "Microsoft.Sql/servers/databases",
133-
"apiVersion": "2021-05-01-preview",
133+
"apiVersion": "2022-02-01-preview",
134134
"name": "[concat(parameters('sqlServerName'), '/', parameters('databaseName'))]",
135135
"location": "[resourceGroup().location]",
136136
"properties": {

0 commit comments

Comments
 (0)