https://pulumi.com logo
Title
g

glamorous-waitress-51149

08/24/2022, 10:53 AM
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

freezing-kitchen-92351

08/29/2022, 3:58 AM
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?