I'm trying to get the organization name programmat...
# general
s
I'm trying to get the organization name programmatically in order to use cross stack references without hardcoding. Is there an elegant way to approach this? Perhaps something similar to
pulumi.getStack()
?
b
This is an unfortunate limitation in the way stack names are treated right now. https://github.com/pulumi/pulumi/issues/2800 is tracking the resolution here, which I hope we will get to soon (cc @creamy-potato-29402 @bitter-oil-46081).
Either Alex or Matt may know of a workaround for how to do this absent a nice API for it.
s
@big-piano-35669 wasn't sure if i was just missing something, but good to know it's being tracked. thanks!