Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
b
bright-motherboard-93404
10/24/2018, 7:20 PM
Is there a way to get the current stack name programmatically?
w
white-balloon-205
10/24/2018, 7:21 PM
Copy code
pulumi.getStack()
b
bright-motherboard-93404
10/24/2018, 7:22 PM
Thanks Luke! 🛀
hmmm, that was supposed to be
:thumbsup:
, but you can't predict Slack's magical completion functionality 😉
Post