Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regional steps output variables availability #43

Open
cghanapu opened this issue Nov 4, 2021 · 3 comments
Open

Regional steps output variables availability #43

cghanapu opened this issue Nov 4, 2021 · 3 comments

Comments

@cghanapu
Copy link

cghanapu commented Nov 4, 2021

We have a scenario where we need to access regional step's output named 'foo' in the following step which runs only in primary region. It would be handy if we can get hold of collection of 'foo' output variable generated from each regional step or output prefixed with region name and passed on to following step.

Ex:- stepname_foo = ['bar','bar2']
Ex:- stepname_regionname_foo = "bar"

@tiny-dancer
Copy link
Contributor

This wouldn't be possible in current flow as all primary step deployments execute prior to the first regional step deployment.

What is the use case?

@cghanapu
Copy link
Author

cghanapu commented Nov 5, 2021

Agreed! We want to use the output variables generated in regional step in the next step but not in the same step.
For instance, step1(foo) regional output variables availability in step2 (bar).

├── step1_foo
├──--- regional
├──--------.tf
├── step2_bar
├──------
.tf

@tiny-dancer
Copy link
Contributor

Do you mind sharing the use case in regards to what you are trying to accomplish from a cloud perspective?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants