Using AWS output variable of one account to another account

(pratik.surani) #1

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!

(Rob Pearson) #3

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.