From 189e8f6bc4b8edcdab4e1b70a97d4155c3786e35 Mon Sep 17 00:00:00 2001 From: Paul Lewis Date: Thu, 8 Aug 2024 14:10:35 +0000 Subject: [PATCH] Enclosing `natGatewayProfile` in `networkProfile` key --- bicep/main.bicep | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bicep/main.bicep b/bicep/main.bicep index 5a4b3b743..2fb8c0df9 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 } }