Skip to content

Commit

Permalink
Merge pull request #421 from Joshua-Donovan/main
Browse files Browse the repository at this point in the history
BugFix: Address space must be pre-allocated for region
  • Loading branch information
aschabus authored Feb 7, 2024
2 parents 88c5450 + 19240b4 commit 93a5f23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"metadata": {
"displayName": "(Optional) Hub Subscription IDs",
"description": "An array of subscriptionIDs to which VNETs are peered; will cause the policy to only evaluate VNETs associated directly with your hubs."
}
},
"defaultValue": []
},
"effect": {
"type": "String",
Expand Down Expand Up @@ -82,7 +83,7 @@
"where": {
"allOf": [
{
"value": "[split(field('Microsoft.Network/virtualNetworks/virtualNetworkPeerings[*].remoteVirtualNetwork.id'), '/')[2]]",
"value": "[ split( string( field('Microsoft.Network/virtualNetworks/virtualNetworkPeerings[*].remoteVirtualNetwork.id') ), '/' )[2] ]",
"in": "[parameters('hubSubscriptions')]"
}
]
Expand Down Expand Up @@ -122,4 +123,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"metadata": {
"displayName": "(Optional) Hub Subscription IDs",
"description": "An array of subscriptionIDs to which VNETs are peered; will cause the policy to only evaluate VNETs associated directly with your hubs."
}
},
"defaultValue": []
},
"effect": {
"type": "String",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"where": {
"allOf": [
{
"value": "[split(field('Microsoft.Network/virtualNetworks/virtualNetworkPeerings[*].remoteVirtualNetwork.id'), '/')[2]]",
"value": "[ split( string( field('Microsoft.Network/virtualNetworks/virtualNetworkPeerings[*].remoteVirtualNetwork.id') ), '/' )[2] ]",
"in": "[parameters('hubSubscriptions')]"
}
]
Expand Down

0 comments on commit 93a5f23

Please sign in to comment.