Configuring Ingress for whitelisted IP on deploy #2265
-
Testing out deploying some applications using Aspire and so far it seem very nice, but an annoying theme is that I'm unable to customize the deployment step at all (azd deploy). For example, I can't have ingress set to"Limited to container apps environment" as then the web app isn't avaialble at all, but I don't like to have ingress set to "Accept traffic from anywhere" without a IP restriction. As of now, the Ingress is always reset to private when running "azd deploy" and then I manually set it to public and add the IP restrictions. I'm sure there's some way to configure the deploy behaviour more in detail, but not sure how? Can anyone point me in the general direction? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
By editing bicep by hand. |
Beta Was this translation helpful? Give feedback.
https://learn.microsoft.com/en-us/dotnet/aspire/deployment/azure/aca-deployment-azd-in-depth?tabs=windows#generate-bicep-from-net-aspire-app-model
By editing bicep by hand.