@@ -39,7 +39,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
39
39
sourcePortRange : '*'
40
40
sourceAddressPrefix : 'AzureLoadBalancer'
41
41
destinationPortRange : '30000-32767'
42
- destinationAddressPrefix : '10.0.0 .0/21' // Container apps subnet
42
+ destinationAddressPrefix : '10.0.16 .0/21' // Container apps subnet
43
43
access : 'Allow'
44
44
priority : 100
45
45
direction : 'Inbound'
@@ -51,7 +51,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
51
51
properties : {
52
52
protocol : 'Tcp'
53
53
sourcePortRange : '*'
54
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
54
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
55
55
destinationPortRange : '443'
56
56
destinationAddressPrefix : 'MicrosoftContainerRegistry'
57
57
access : 'Allow'
@@ -64,7 +64,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
64
64
properties : {
65
65
protocol : 'Tcp'
66
66
sourcePortRange : '*'
67
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
67
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
68
68
destinationPortRange : '443'
69
69
destinationAddressPrefix : 'AzureFrontDoor.FirstParty'
70
70
access : 'Allow'
@@ -77,9 +77,9 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
77
77
properties : {
78
78
protocol : '*'
79
79
sourcePortRange : '*'
80
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
80
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
81
81
destinationPortRange : '*'
82
- destinationAddressPrefix : '10.0.0 .0/21' // Container apps subnet
82
+ destinationAddressPrefix : '10.0.16 .0/21' // Container apps subnet
83
83
access : 'Allow'
84
84
priority : 120
85
85
direction : 'Outbound'
@@ -90,7 +90,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
90
90
properties : {
91
91
protocol : 'Tcp'
92
92
sourcePortRange : '*'
93
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
93
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
94
94
destinationPortRange : '443'
95
95
destinationAddressPrefix : 'AzureActiveDirectory'
96
96
access : 'Allow'
@@ -103,7 +103,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
103
103
properties : {
104
104
protocol : 'Tcp'
105
105
sourcePortRange : '*'
106
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
106
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
107
107
destinationPortRange : '443'
108
108
destinationAddressPrefix : 'AzureMonitor'
109
109
access : 'Allow'
@@ -116,7 +116,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
116
116
properties : {
117
117
protocol : '*'
118
118
sourcePortRange : '*'
119
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
119
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
120
120
destinationPortRange : '53'
121
121
destinationAddressPrefix : '168.63.129.16'
122
122
access : 'Allow'
@@ -129,7 +129,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
129
129
properties : {
130
130
protocol : 'Tcp'
131
131
sourcePortRange : '*'
132
- sourceAddressPrefix : '10.0.0 .0/21' // Container apps subnet
132
+ sourceAddressPrefix : '10.0.16 .0/21' // Container apps subnet
133
133
destinationPortRange : '443'
134
134
destinationAddressPrefix : 'Storage.${location }'
135
135
access : 'Allow'
@@ -284,7 +284,7 @@ module vnet 'br/public:avm/res/network/virtual-network:0.6.1' = {
284
284
: [
285
285
{
286
286
name : containerAppsSubnetName
287
- addressPrefix : '10.0.0 .0/21'
287
+ addressPrefix : '10.0.16 .0/21'
288
288
delegation : 'Microsoft.App/environments'
289
289
networkSecurityGroupResourceId : containerAppsNSG !.outputs .resourceId
290
290
}
0 commit comments