https://pulumi.com logo
#dotnet
Title
d

delightful-lizard-41466

01/25/2020, 11:12 AM
Hi all , there is a way to get current stack name from C# (like pulumi.getStack() in TS) ?
p

powerful-football-81694

01/25/2020, 11:54 AM
Yes, there is @delightful-lizard-41466.
Copy code
var stackName = Deployment.Instance.StackName;