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

Support for dynamic input through EnvironmentConfig #29

Open
gravufo opened this issue Nov 19, 2024 · 0 comments
Open

Support for dynamic input through EnvironmentConfig #29

gravufo opened this issue Nov 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gravufo
Copy link

gravufo commented Nov 19, 2024

What problem are you facing?

I currently have functions written in Go to generate all the resources I want to use. However, the number of resources is dynamic and can vary based on the Claim or other factors such as EnvironmentConfigs.
The function currently has to sequence the order of creation itself, but I would really like to use function-sequencer for this. I was thinking I could just dump the full array of resources from my Go function regardless of order and it could also output the sequence list which could be used as input for function-sequencer.
Unfortunately, I don't seem to find a way to send an input dynamically from one function to another.

How could this Function help solve your problem?

The only way I can think of to support my use-case would be to optionally read from the EnvironmentConfig to retrieve the sequence input. The key to read from the EnvironmentConfig could probably be sent as a classic function Input.

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

No branches or pull requests

1 participant