careful-vase-44898
01/04/2022, 5:08 PMbillowy-army-68599
01/04/2022, 5:19 PMdependsOn
https://www.pulumi.com/docs/intro/concepts/resources/#dependson
do either of those options help?careful-vase-44898
01/04/2022, 5:30 PMOutput.Tuple(resourceGroup.Name, publicWeb.Name).Apply(async t => await GetAppServiceIpAddress(t.Item1, t.Item2))
, where `GetAppServiceIpAddress`fails in the same way - the Azure App Service hasn't been created yet, so the call fails.pulumi up
twice. Once to get the app spun up, then I pulumi config set configureWebJobs true
, then another pulumi up
to build the rest. Not great, but it works.billowy-army-68599
01/04/2022, 6:41 PMcareful-vase-44898
01/04/2022, 7:38 PMCreateRecurringTriggeredWebJobWorkflow
creates a AzureNative.Logic.Workflow
resource. That resource depends on a AzureNative.WebApp.WebApp
my second example is just an output assignment:
this.WebsiteInboundIpAddressForARecord = Output.Tuple(resourceGroup.Name, publicWeb.Name).Apply(async t => await GetAppServiceIpAddress(t.Item1, t.Item2));
Both rely on the WebApp being physically created.