Skip to content

Commit

Permalink
- Trying to fix the error about the natGatewayProfile:
Browse files Browse the repository at this point in the history
`unknown field \\\"natGatewayProfile\\\" Check that the field is in the right location, is spelled correctly, and is supported in the API version`
  • Loading branch information
pjlewisuk authored Aug 9, 2024
1 parent 78f2abf commit f7cdd6b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions samples/shared-acr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -1165,11 +1165,13 @@
"aks_addons1": "[if(parameters('ingressApplicationGateway'), union(variables('aks_addons'), if(variables('deployAppGw'), createObject('ingressApplicationGateway', createObject('config', createObject('applicationGatewayId', resourceId('Microsoft.Network/applicationGateways', variables('appgwName'))), 'enabled', true())), createObject('ingressApplicationGateway', createObject('enabled', true(), 'config', createObject('applicationGatewayName', variables('appgwName'), 'subnetCIDR', '10.225.0.0/16'))))), variables('aks_addons'))]",
"aksPrivateDnsZone": "[if(equals(parameters('privateClusterDnsMethod'), 'privateDnsZone'), if(not(empty(parameters('dnsApiPrivateZoneId'))), parameters('dnsApiPrivateZoneId'), 'system'), parameters('privateClusterDnsMethod'))]",
"managedNATGatewayProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
"networkProfile": {
"natGatewayProfile": {
"managedOutboundIPProfile": {
"count": "[parameters('natGwIpCount')]"
},
"idleTimeoutInMinutes": "[parameters('natGwIdleTimeout')]"
}
}
},
"azureDefenderSecurityProfile": {
Expand Down

0 comments on commit f7cdd6b

Please sign in to comment.