Skip to content

Commit 8aaf0c0

Browse files
committed
Remove unneeded NSG rules
1 parent 0d0abb0 commit 8aaf0c0

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

infra/network-isolation.bicep

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,6 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
3737
direction: 'Inbound'
3838
}
3939
}
40-
{
41-
// TODO: Were any of these rules really needed??
42-
name: 'AllowPrivateEndpointsOutbound'
43-
properties: {
44-
protocol: 'Tcp'
45-
sourcePortRange: '*'
46-
sourceAddressPrefix: '10.0.0.0/21'
47-
destinationPortRange: '443'
48-
destinationAddressPrefix: '10.0.8.0/24'
49-
access: 'Allow'
50-
priority: 200
51-
direction: 'Outbound'
52-
}
53-
}
54-
{
55-
name: 'AllowDnsOutbound'
56-
properties: {
57-
protocol: '*'
58-
sourcePortRange: '*'
59-
sourceAddressPrefix: '*'
60-
destinationPortRange: '53'
61-
destinationAddressPrefix: '*'
62-
access: 'Allow'
63-
priority: 210
64-
direction: 'Outbound'
65-
}
66-
}
67-
{
68-
name: 'AllowVNetOutbound'
69-
properties: {
70-
protocol: '*'
71-
sourcePortRange: '*'
72-
sourceAddressPrefix: '*'
73-
destinationPortRange: '*'
74-
destinationAddressPrefix: 'VirtualNetwork'
75-
access: 'Allow'
76-
priority: 220
77-
direction: 'Outbound'
78-
}
79-
}
8040
]
8141
}
8242
}

0 commit comments

Comments
 (0)