https://pulumi.com logo
#general
Title
# general
q

quick-wolf-8403

06/02/2022, 3:12 PM
Quick question I haven't found answered in the docs: can I check the current stack in my Pulumi program? I thought it might be accessible through Config. Or should I just put the differences in Config vars and use that to differentiate between stacks?
b

billowy-army-68599

06/02/2022, 3:18 PM
There's a getStack method in all sdks
q

quick-wolf-8403

06/02/2022, 3:29 PM
Thanks! I figured, but didn't see it until you pointed it out.
6 Views