diff --git a/dev-infrastructure/modules/aks-cluster-base.bicep b/dev-infrastructure/modules/aks-cluster-base.bicep index 9930966c8..ed77dbac8 100644 --- a/dev-infrastructure/modules/aks-cluster-base.bicep +++ b/dev-infrastructure/modules/aks-cluster-base.bicep @@ -695,4 +695,4 @@ output aksNodeSubnetId string = aksNodeSubnet.id output aksOidcIssuerUrl string = aksCluster.properties.oidcIssuerProfile.issuerURL output aksClusterName string = aksClusterName output aksClusterKeyVaultSecretsProviderPrincipalId string = aksCluster.properties.addonProfiles.azureKeyvaultSecretsProvider.identity.objectId -output istioIngressGatewayIPAddress string = istioIngressGatewayIPAddress.outputs.ipAddress +output istioIngressGatewayIPAddress string = deployIstio ? istioIngressGatewayIPAddress.outputs.ipAddress : '' diff --git a/dev-infrastructure/templates/region.bicep b/dev-infrastructure/templates/region.bicep index 1c52f071d..1367c2165 100644 --- a/dev-infrastructure/templates/region.bicep +++ b/dev-infrastructure/templates/region.bicep @@ -158,7 +158,7 @@ module maestroInfra '../modules/maestro/maestro-infra.bicep' = { maxClientSessionsPerAuthName: maestroEventGridMaxClientSessionsPerAuthName publicNetworkAccess: maestroEventGridPrivate ? 'Disabled' : 'Enabled' certificateIssuer: maestroCertificateIssuer - logAnalyticsWorkspaceId: logAnalyticsWorkspace.id + logAnalyticsWorkspaceId: enableLogAnalytics ? logAnalyticsWorkspace.id : '' } }