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

sparse-tomato-56640

06/15/2019, 4:53 PM
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

big-piano-35669

06/16/2019, 4:42 PM
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

sparse-tomato-56640

06/16/2019, 5:25 PM
@big-piano-35669 wasn't sure if i was just missing something, but good to know it's being tracked. thanks!
2 Views