Is there any way to get the current stack name that the application is being executed with? For example, if I created a "dev" stack (Pulumi.dev.yaml), is there any way to retrieve this "dev" name from within my Pulumi app in C#?
One additional question: more regarding Azure, but that it's within the realm of .NET: is there any way to get the TenantId of the Azure subscription being used to connect with?
Something that doesn't require having to pass it as a config?
01/24/2024, 6:40 PM
There is! If you use getClientConfig the TenantId is available on the result
01/24/2024, 6:41 PM
Oh, I was using Azure Native, but I found it by searching what you mentioned! Thank you very much!! 😉