How do I access the current stack name from code? ...
# dotnet
w
How do I access the current stack name from code? Is there something like
Deployment.Stack.Name
that would give me `Dev`/`Test`... depending on the name?
w
Deployment.Instance.StackName
w
Hmm. I Didn’t find an
Instance
property on the
Deployment
.
w
namespace resolution? Try
Pulumi.Deployment.Instance.StackName
t
I Didn’t find an 
Instance
 property on the 
Deployment
You probably looked at F# Deployment module.
Instance
is on the Deployment class from the root namespace.
w
Almost like you know me to well now @tall-librarian-49374, that is most likely the case 🙂