is there a way to add to a container app’s env var...
# azure
g
is there a way to add to a container app’s env vars the url of the container app that is being created? You can get the url like so
Url      = Output.Format($"https://{app.Configuration.Apply(x => x!.Ingress).Apply(x => x!.Fqdn)}");
but obviously it’s cyclic dependency issue, you’re trying to add the url to the envvars but the url doesn’t exist yet
f
Hi @glamorous-waitress-51149, you could potentially try getting the base url of Container App Environment
ManagedEnvironment.defaultDomain
and prepending it with the container app name?