Environment Variables need to be expanded before checking if valid option in component inputs
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
When a user defines an input with options, e.g.:
spec:
inputs:
a:
options:
- foo
- bar
and when setting it to the value of a variable, e.g.:
include:
- component: ...
inputs:
a: $VALUE_OF_A
it fails because the literal value $VALUE_OF_A is not a valid option - that is, neither foo nor bar.
Even if VALUE_OF_A=foo.
Edited by 🤖 GitLab Bot 🤖