Skip to content

Commit a2b3383

Browse files
committed
update bicep for Container App Environment
1 parent 92e60c5 commit a2b3383

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

infra/main.bicep

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,11 @@ module avmContainerAppEnv 'br/public:avm/res/app/managed-environment:0.11.1' = {
988988
publicNetworkAccess: (deployment_param.enable_waf) ? 'Disabled' : 'Enabled'
989989

990990
// <========== WAF related parameters
991-
zoneRedundant: (deployment_param.enable_waf) ? false : true
991+
zoneRedundant: (deployment_param.enable_waf) ? true : false
992+
993+
platformReservedCidr: '172.17.17.0/24'
994+
platformReservedDnsIP: '172.17.17.17'
995+
992996
infrastructureSubnetResourceId: (deployment_param.enable_waf)
993997
? avmVirtualNetwork.outputs.subnetResourceIds[1] // Use the container app subnet
994998
: null // Use the container app subnet

0 commit comments

Comments
 (0)