sparse-intern-71089
08/05/2020, 9:59 AMsticky-jordan-27156
08/05/2020, 5:40 PMCustomResourceOptions
https://www.pulumi.com/docs/intro/concepts/programming-model/#dependsonnumerous-artist-1705
08/06/2020, 7:46 AMGetServicePrincipal.InvokeAsync
does not have an overload accepting CustomResourceOptions
. The workaround could be (not sure if it works) to create a dummy custom resource that depends on the function and use something on its ID output to invoke the get; that would be really awful and I'm not sure it would work as probably also that ID would be known upfront.tall-librarian-49374
08/06/2020, 8:13 AMTuple
approach doesn’t work. Are you tupling a property that is unknown before deployment?numerous-artist-1705
08/06/2020, 8:41 AMId
as that is surely provided by Azure and it worked. It's still a bit hacky and I'm not sure it will work in all cases, but it's good enough for now.