Hi All, first day with Pulumi and pretty impressed...
# general
n
Hi All, first day with Pulumi and pretty impressed so far. I've hit a brick wall with the Azure module and C# though ... how can I pull back the Azure Subscription ID? I found documentation on getClientConfig and getSubscription and though they might help but I haven't worked out how to call them?
t
Something like
Copy code
private static async Task<string> GetSubscriptionId()
{
    var s = await Pulumi.Azure.Core.Invokes.GetSubscription();
    return s.Id;
}
n
Thanks Mikhail, I'll give it a shot