Hi all , there is a way to get current stack name ...
# dotnet
d
Hi all , there is a way to get current stack name from C# (like pulumi.getStack() in TS) ?
p
Yes, there is @delightful-lizard-41466.
Copy code
var stackName = Deployment.Instance.StackName;