From b9e318c88f4650110ef9fca29bbff98d3ad5a904 Mon Sep 17 00:00:00 2001 From: samaea <32162601+samaea@users.noreply.github.com> Date: Fri, 9 Aug 2024 19:06:21 +0100 Subject: [PATCH] NAT Gateway hot fix. (#710) --- bicep/main.bicep | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bicep/main.bicep b/bicep/main.bicep index 0fb71ced5..7a6ebd8aa 100644 --- a/bicep/main.bicep +++ b/bicep/main.bicep @@ -1244,11 +1244,13 @@ output aksPrivateDnsZoneName string = enablePrivateCluster && privateClusterDns @description('Needing to seperately declare and union this because of https://github.com/Azure/AKS-Construction/issues/344') var managedNATGatewayProfile = { - natGatewayProfile : { - managedOutboundIPProfile: { - count: natGwIpCount + networkProfile: { + natGatewayProfile : { + managedOutboundIPProfile: { + count: natGwIpCount + } + idleTimeoutInMinutes: natGwIdleTimeout } - idleTimeoutInMinutes: natGwIdleTimeout } }