-
Notifications
You must be signed in to change notification settings - Fork 121
/
Copy pathAZ-140-RGBuild.json
49 lines (49 loc) · 1.54 KB
/
AZ-140-RGBuild.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"ResourceGroups": {
"type": "array",
"metadata": {
"description": "Resource group identifier"
},
"defaultValue": [
{
"Name":"rg-wth-identity-d-eus",
"Location":"eastus"
},
{
"Name":"rg-wth-network-d-eus",
"Location":"eastus"
},
{
"Name":"rg-wth-wvd-d-eus",
"Location":"eastus"
},
{
"Name":"rg-wth-wvd-d-jw",
"Location":"japanwest"
},
{
"Name":"rg-wth-wvd-d-uks",
"Location":"uksouth"
}
]
}
},
"resources": [
{
"comments": "---------- RESOURCE GROUPS ----------",
"name": "[parameters('ResourceGroups')[copyIndex()].Name]",
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2019-10-01",
"location": "[parameters('ResourceGroups')[copyIndex()].Location]",
"tags": {},
"properties": {},
"copy": {
"name": "rgLoop",
"count": "[length(parameters('ResourceGroups'))]"
}
}
]
}