crossplane-contrib / crossplane-contrib/function-sequencer

Support for dynamic input through EnvironmentConfig

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
37
Forks
19
Avg merge
1d 14h
Merged PRs (30d)
4

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.