@@ -134,85 +134,16 @@ module network 'network/main.bicep' = {
134134 }
135135 }
136136 {
137- name : 'deployment-scripts'
138- addressPrefixes : ['10.0.4.0/23' ] // 512 IPs
139- networkSecurityGroup : {
140- name : 'nsg-deployment-scripts'
141- securityRules : [
142- {
143- name : 'AllowVnetOutbound'
144- properties : {
145- access : 'Allow'
146- direction : 'Outbound'
147- priority : 100
148- protocol : '*'
149- sourcePortRange : '*'
150- destinationPortRange : '*'
151- sourceAddressPrefix : 'VirtualNetwork'
152- destinationAddressPrefix : 'VirtualNetwork'
153- }
154- }
155- {
156- name : 'AllowAzureCloudOutbound'
157- properties : {
158- access : 'Allow'
159- direction : 'Outbound'
160- priority : 110
161- protocol : 'Tcp'
162- sourcePortRange : '*'
163- destinationPortRange : '443'
164- sourceAddressPrefix : '*'
165- destinationAddressPrefix : 'AzureCloud'
166- }
167- }
168- {
169- name : 'AllowInternetOutbound'
170- properties : {
171- access : 'Allow'
172- direction : 'Outbound'
173- priority : 120
174- protocol : 'Tcp'
175- sourcePortRange : '*'
176- destinationPortRanges : [
177- '80'
178- '443'
179- ]
180- sourceAddressPrefix : '*'
181- destinationAddressPrefix : 'Internet'
182- }
183- }
184- {
185- name : 'AllowStorageOutbound'
186- properties : {
187- access : 'Allow'
188- direction : 'Outbound'
189- priority : 130
190- protocol : 'Tcp'
191- sourcePortRange : '*'
192- destinationPortRange : '443'
193- sourceAddressPrefix : '*'
194- destinationAddressPrefix : 'Storage'
195- }
196- }
197- {
198- name : 'AllowDnsOutbound'
199- properties : {
200- access : 'Allow'
201- direction : 'Outbound'
202- priority : 140
203- protocol : '*'
204- sourcePortRange : '*'
205- destinationPortRange : '53'
206- sourceAddressPrefix : '*'
207- destinationAddressPrefix : '*'
137+ name : 'deployment-scripts'
138+ addressPrefixes : ['10.0.4.0/24' ]
139+ networkSecurityGroup : {
140+ name : 'nsg-deployment-scripts'
141+ securityRules : []
208142 }
143+ delegation : 'Microsoft.ContainerInstance/containerGroups'
144+ serviceEndpoints : ['Microsoft.Storage' ,'Microsoft.KeyVault' ]
209145 }
210146 ]
211- }
212- delegation : 'Microsoft.ContainerInstance/containerGroups'
213- }
214-
215- ]
216147 bastionConfiguration : {
217148 name : 'bas-${resourcesName }'
218149 subnet : {
@@ -327,7 +258,10 @@ output subnetPrivateEndpointsResourceId string = first(filter(network.outputs.su
327258output bastionResourceId string = network .outputs .bastionHostId
328259
329260@description ('Resource ID of the subnet for deployment scripts.' )
330- output subnetDeploymentScriptsResourceId string = first (filter (network .outputs .subnets , s => s .name == 'deployment-scripts' )).?resourceId ?? ''
261+ output subnetDeploymentScriptsResourceId string = first (filter (
262+ network .outputs .subnets ,
263+ s => s .name == 'deployment-scripts'
264+ )).?resourceId ?? ''
331265
332266@description ('Resource ID of the Jumpbox VM.' )
333267output jumpboxResourceId string = network .outputs .jumpboxResourceId
0 commit comments