Using AWS output variable of one account to another account

Hi,
Currently I have two environments
Environment 1
Environment 2
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!

Hi Pratik,

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.

Thanks

Rob

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.