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/cross-resource-group-deployment.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,22 +7,22 @@ ms.date: 05/18/2020
7
7
8
8
# Deploy Azure resources across subscriptions or resource groups
9
9
10
-
Resource Manager enables you to target more than one resource group in a single deployment. You use nested templates to specify resource groups that are different than the resource group in the deployment operation. The resource groups can exist in different subscriptions.
10
+
Resource Manager enables you to deploy to more than one resource group in a single deployment. You use nested templates to specify resource groups that are different than the resource group in the deployment operation. The resource groups can exist in different subscriptions.
11
11
12
12
> [!NOTE]
13
-
> You can deploy to **800** resource groups in a single deployment. Typically, this limitation means you can deploy to one resource group specified for the parent template, and up to 799 resource groups in nested or linked deployments. However, if your parent template contains only nested or linked templates and does not itself deploy any resources, then you can include up to 800 resource groups in nested or linked deployments.
13
+
> You can deploy to **800 resource groups** in a single deployment. Typically, this limitation means you can deploy to one resource group specified for the parent template, and up to 799 resource groups in nested or linked deployments. However, if your parent template contains only nested or linked templates and does not itself deploy any resources, then you can include up to 800 resource groups in nested or linked deployments.
14
14
15
15
## Specify subscription and resource group
16
16
17
-
To target a resource group that is different than the one for parent template, use a [nested or linked template](linked-templates.md). Within the deployment resource type, specify values for the subscription ID and resource group.
17
+
To target a resource group that is different than the one for parent template, use a [nested or linked template](linked-templates.md). Within the deployment resource type, specify values for the subscription ID and resource group that you want the nested template to deploy to.
If you don't specify the subscription ID or resource group, the subscription and resource group from the parent template are used. All the resource groups must exist before running the deployment.
22
22
23
-
The account you use to deploy the template must have permissions to deploy to the specified subscription ID. If the specified subscription exists in a different Azure Active Directory tenant, you must [add guest users from another directory](../../active-directory/active-directory-b2b-what-is-azure-ad-b2b.md).
23
+
The account that deploys the template must have permission to deploy to the specified subscription ID. If the specified subscription exists in a different Azure Active Directory tenant, you must [add guest users from another directory](../../active-directory/active-directory-b2b-what-is-azure-ad-b2b.md).
24
24
25
-
The following example deploys two storage accounts. The first storage account is deployed to the resource group specified during deployment. The second storage account is deployed to the resource group specified in the `secondResourceGroup` and `secondSubscriptionID` parameters:
25
+
The following example deploys two storage accounts. The first storage account is deployed to the resource group specified in the deployment operation. The second storage account is deployed to the resource group specified in the `secondResourceGroup` and `secondSubscriptionID` parameters:
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/templates/deploy-to-subscription.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.date: 05/18/2020
7
7
8
8
# Create resource groups and resources at the subscription level
9
9
10
-
To simplify the management of resources in your Azure subscription, you can define and assign [policies](../../governance/policy/overview.md)or[role-based access controls](../../role-based-access-control/overview.md)across the subscription. With subscription level templates, you declaratively apply policies and assign roles at the subscription. You can also create resource groups and deploy resources.
10
+
To simplify the management of resources, you can deploy resources at the level of your Azure subscription. For example, you can deploy [policies](../../governance/policy/overview.md)and[role-based access controls](../../role-based-access-control/overview.md)to your subscription. These policies and role-based access controls are applied across your subscription. You can also create resource groups and deploy resources to those resource groups.
11
11
12
12
> [!NOTE]
13
13
> You can deploy to up to 800 resource groups in a subscription level deployment.
@@ -128,7 +128,7 @@ The following template creates an empty resource group.
128
128
"resources": [
129
129
{
130
130
"type": "Microsoft.Resources/resourceGroups",
131
-
"apiVersion": "2018-05-01",
131
+
"apiVersion": "2019-10-01",
132
132
"name": "[parameters('rgName')]",
133
133
"location": "[parameters('rgLocation')]",
134
134
"properties": {}
@@ -159,7 +159,7 @@ Use the [copy element](copy-resources.md) with resource groups to create more th
@@ -177,7 +177,7 @@ For information about resource iteration, see [Deploy more than one instance of
177
177
178
178
## Resource group and resources
179
179
180
-
To create the resource group and deploy resources to it, use a nested template. The nested template defines the resources to deploy to the resource group. Set the nested template as dependent on the resource group to make sure the resource group exists before deploying the resources.
180
+
To create the resource group and deploy resources to it, use a nested template. The nested template defines the resources to deploy to the resource group. Set the nested template as dependent on the resource group to make sure the resource group exists before deploying the resources. You can deploy to up to 800 resource groups.
181
181
182
182
The following example creates a resource group, and deploys a storage account to the resource group.
183
183
@@ -203,14 +203,14 @@ The following example creates a resource group, and deploys a storage account to
203
203
"resources": [
204
204
{
205
205
"type": "Microsoft.Resources/resourceGroups",
206
-
"apiVersion": "2018-05-01",
206
+
"apiVersion": "2019-10-01",
207
207
"location": "[parameters('rgLocation')]",
208
208
"name": "[parameters('rgName')]",
209
209
"properties": {}
210
210
},
211
211
{
212
212
"type": "Microsoft.Resources/deployments",
213
-
"apiVersion": "2018-05-01",
213
+
"apiVersion": "2019-10-01",
214
214
"name": "storageDeployment",
215
215
"resourceGroup": "[parameters('rgName')]",
216
216
"dependsOn": [
@@ -226,7 +226,7 @@ The following example creates a resource group, and deploys a storage account to
0 commit comments