Skip to content

Commit

Permalink
Assigning correct subscriptions to correct groups
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelysandwich committed Mar 30, 2023
1 parent 8313d67 commit aab11e0
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions src/ALZ/Assets/alz-bicep-config/v0.14.1-pre.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"destination": "config/custom-parameters/roleAssignmentManagementGroupMany.servicePrincipal.parameters.all.json"
},
{
"source": "infra-as-code/bicep/modules/subscriptionPlacement/parameters/subscriptionPlacement.parameters.all.json",
"destination": "config/custom-parameters/subscriptionPlacement.parameters.all.json"
"source": "infra-as-code/bicep/orchestration/subPlacementAll/parameters/subPlacementAll.parameters.all.json",
"destination": "config/custom-parameters/subPlacementAll.parameters.all.json"
},
{
"source": "infra-as-code/bicep/modules/vwanConnectivity/parameters/vwanConnectivity.parameters.all.json",
Expand Down Expand Up @@ -338,17 +338,38 @@
}
]
},
"AllSubscriptionIds": {
"ManagementSubscriptionGroup": {
"Type": "Computed",
"Value": [
"{%ManagementSubscriptionId%}"
],
"Targets": [
{
"Name": "parPlatformManagementMgSubs.value",
"Destination": "Parameters"
}
]
},
"ConnectivitySubscriptionGroup": {
"Type": "Computed",
"Value": [
"{%ConnectivitySubscriptionId%}"
],
"Targets": [
{
"Name": "parPlatformConnectivityMgSubs.value",
"Destination": "Parameters"
}
]
},
"IdentitySubscriptionGroup": {
"Type": "Computed",
"Process": "@($args | ForEach-Object { $_.ToLower() } | Select-Object -Unique)",
"Value": [
"{%ManagementSubscriptionId%}",
"{%ConnectivitySubscriptionId%}",
"{%IdentitySubscriptionId%}"
],
"Targets": [
{
"Name": "parSubscriptionIds.value",
"Name": "parPlatformIdentityMgSubs.value",
"Destination": "Parameters"
}
]
Expand Down

0 comments on commit aab11e0

Please sign in to comment.