Skip to content

Commit

Permalink
Refactor deployment script variables and add resourceProviders to hub…
Browse files Browse the repository at this point in the history
…Spoke and vwanSpoke modules
  • Loading branch information
sebassem committed Mar 17, 2024
1 parent 950cf6e commit 103d2ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,9 @@ module createSubscriptionResources 'src/self/subResourceWrapper/deploy.bicep' =
roleAssignmentEnabled: roleAssignmentEnabled
roleAssignments: roleAssignments
disableTelemetry: disableTelemetry
deploymentScriptResourceGroupName: '${deploymentScriptResourceGroupName}-${deploymentScriptResourcesSubGuid}'
deploymentScriptName: '${deploymentScriptName}-${deploymentScriptResourcesSubGuid}'
deploymentScriptManagedIdentityName: '${deploymentScriptManagedIdentityName}-${deploymentScriptResourcesSubGuid}'
deploymentScriptResourceGroupName: deploymentScriptResourceGroupName
deploymentScriptName: deploymentScriptName
deploymentScriptManagedIdentityName: deploymentScriptManagedIdentityName
resourceProviders: resourceProviders
deploymentScriptVirtualNetworkName: deploymentScriptVirtualNetworkName
deploymentScriptNetworkSecurityGroupName: deploymentScriptNetworkSecurityGroupName
Expand Down
2 changes: 2 additions & 0 deletions tests/lz-vending/full.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module hubSpoke '../../main.bicep' = {
relativeScope: '/resourceGroups/rsg-${location}-net-hs-pr-${prNumber}'
}
]
resourceProviders : {}
}
}

Expand All @@ -86,6 +87,7 @@ module vwanSpoke '../../main.bicep' = {
virtualNetworkResourceGroupLockEnabled: false
virtualNetworkPeeringEnabled: true
hubNetworkResourceId: '/subscriptions/e4e7395f-dc45-411e-b425-95f75e470e16/resourceGroups/rsg-blzv-perm-hubs-001/providers/Microsoft.Network/virtualHubs/vhub-uksouth-blzv'
resourceProviders : {}
}
}

Expand Down

0 comments on commit 103d2ca

Please sign in to comment.