Considering using expand_vars in order to use variables in "inputs"
As suggested by https://docs.gitlab.com/ci/yaml/inputs/#expand_vars, you should use "expand_vars" inside code of opentofu components in order to let people use variables in "inouts" field.
Regards Matteo