Skip to content

Commit d24149f

Browse files
committed
Allow external access in VNet configuration
Changed the 'internal' property in vnetConfiguration from true to false to permit external access while still using a VNet. This update enables public connectivity for container apps environments when private ingress is used.
1 parent 008e6ef commit d24149f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/core/host/container-apps-environment.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resource containerAppsEnvironment 'Microsoft.App/managedEnvironments@2025-02-02-
3636
publicNetworkAccess: usePrivateIngress ? 'Disabled' : 'Enabled'
3737
vnetConfiguration: usePrivateIngress ? {
3838
infrastructureSubnetId: subnetResourceId
39-
internal: true
39+
internal: false // Changed to false to allow external access while still using VNet
4040
} : null
4141
workloadProfiles: usePrivateIngress
4242
? [

0 commit comments

Comments
 (0)