Skip to content

Commit

Permalink
Add connectivitySubscriptionId parameter to ARM templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Springstone committed Nov 21, 2024
1 parent f4359bb commit 414002b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions eslzArm/eslzArm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5224,6 +5224,9 @@
},
"managementGroupScope": {
"value": "[variables('scopes').eslzRootManagementGroup]"
},
"connectivitySubscriptionId": {
"value": "[parameters('connectivitySubscriptionId')]"
}
}
}
Expand Down
14 changes: 12 additions & 2 deletions eslzArm/subscriptionTemplates/avnmConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"topLevelManagementGroupPrefix": {
"topLevelManagementGroupPrefix": {
"type": "string",
"maxLength": 10,
"defaultValue": "eslz",
Expand All @@ -24,6 +24,13 @@
"metadata": {
"description": "Management group scope for AVNM."
}
},
"connectivitySubscriptionId": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Subscription ID for the connectivity subscription."
}
}
},
"variables": {
Expand Down Expand Up @@ -57,6 +64,9 @@
},
"managementGroupScope": {
"value": "[parameters('managementGroupScope')]"
},
"connectivitySubscriptionId": {
"value": "[parameters('connectivitySubscriptionId')]"
}
},
"template": {
Expand All @@ -82,7 +92,7 @@
],
"networkManagerScopes": {
"subscriptions": [

"[format('/subscriptions/{0}', parameters('connectivitySubscriptionId'))]"
],
"managementGroups": [
"[parameters('managementGroupScope')]"
Expand Down

0 comments on commit 414002b

Please sign in to comment.