Currently I have two environments
I deployed my stack ‘xyz’ on Environment-1 which outputs a variable ‘v’
Now I am looking to access this variable ‘v’ in Octopus to deploy the project in Environment 2
Is this possible and how?
Quick response would be much appreciated!
Thanks for getting in touch. Unfortunately, this is not possible with Octopus out-of-the-box. Each deployment is independent and thus you can’t share output variables across them.
My best suggestion would be to persist the variable somewhere (save it to a file on the Octopus server or save it to a secret store etc) and then retrieve it again afterwards.
Hope this helps.