https://pulumi.com logo
Title
a

ancient-megabyte-79588

05/06/2020, 5:36 PM
Thanks @broad-dog-22463
b

boundless-airport-99052

05/07/2020, 3:49 PM
Hi @ancient-megabyte-79588, @broad-dog-22463 Actually, there is a simpler way to do that:
export const subscriptionId = azure.config.subscriptionId
I’m not sure this is documented.
a

ancient-megabyte-79588

05/07/2020, 3:50 PM
That is great to know. 😄 I haven't seen that in documentation or an example yet.
b

boundless-airport-99052

05/07/2020, 3:50 PM
I found in source code when looking for dynamic provider example 🙂
a

ancient-megabyte-79588

05/07/2020, 3:51 PM
I'll probably leave the
.getClientConfig()
example in my blog post to show how to get access to the information in the
az
context, but that little code snippet is good to see.