Skip to content

Commit

Permalink
Migrated PE from AVM + enabled UDT for nested resources
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Oct 18, 2023
1 parent 5877d75 commit ad01c72
Show file tree
Hide file tree
Showing 11 changed files with 411 additions and 496 deletions.

This file was deleted.

20 changes: 8 additions & 12 deletions modules/network/private-endpoint/.test/common/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,16 @@ module testDeployment '../../main.bicep' = {
]
serviceResourceId: nestedDependencies.outputs.keyVaultResourceId
subnetResourceId: nestedDependencies.outputs.subnetResourceId
lock: 'CanNotDelete'
privateDnsZoneGroup: {
privateDNSResourceIds: [
nestedDependencies.outputs.privateDNSZoneResourceId
]
lock: {
kind: 'CanNotDelete'
}
privateDnsZoneResourceIds: [
nestedDependencies.outputs.privateDNSZoneResourceId
]
roleAssignments: [
{
roleDefinitionIdOrName: 'Reader'
principalIds: [
nestedDependencies.outputs.managedIdentityPrincipalId
]
principalId: nestedDependencies.outputs.managedIdentityPrincipalId
principalType: 'ServicePrincipal'
}
]
Expand All @@ -86,10 +84,8 @@ module testDeployment '../../main.bicep' = {
}
]
customNetworkInterfaceName: '${namePrefix}${serviceShort}001nic'
applicationSecurityGroups: [
{
id: nestedDependencies.outputs.applicationSecurityGroupResourceId
}
applicationSecurityGroupResourceIds: [
nestedDependencies.outputs.applicationSecurityGroupResourceId
]
tags: {
'hidden-title': 'This is visible in the resource name'
Expand Down
Loading

0 comments on commit ad01c72

Please sign in to comment.