You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add env variable support pointing to feature_store.yaml #5416
Is your feature request related to a problem? Please describe.
I'm building a solution that uses Feast under the hood, and I want to abstract away infrastructure details from end users — specifically, the location of the feature_store.yaml file. Currently, Feast requires the path to be passed via -f for every CLI command, or the file must exist in the current working directory.
This tightly couples user workflows to the project structure and forces them to think about internal config paths. I’d prefer to centralize this configuration and avoid exposing it to end users.
Describe the solution you'd like
I would like Feast to support a new environment variable, e.g., FEAST_FEATURE_STORE_YAML_PATH, that allows specifying the path to the feature_store.yaml file. If this env var is set, Feast should use it as the default location for the config file — so users don’t have to pass -f every time or change directories.
This would allow me to provide a smoother, zero-config CLI experience to users, while still maintaining flexibility and modularity internally.
Describe alternatives you've considered
Using the -f flag repeatedly — functional, but leaks internal file structure to the user and adds CLI overhead.
Changing the working directory to match the config location — fragile in some execution environments.
Additional context
Here’s an example of what this could look like in practice:
export FEAST_FEATURE_STORE_YAML_PATH=/my/app/internal/feature_store.yaml
feast apply # No -f needed
feast ui # Still picks up the right config
Activity
franciscojavierarceo commentedon Jun 4, 2025
Can you remove the FEAST from the environment variable name? Feast is implicit.
ntkathole commentedon Jun 4, 2025
@misohu There is
FEAST_FS_YAML_FILE_PATHenv variable already available in code, which allows you to override the path.https://github.com/feast-dev/feast/blob/master/sdk/python/feast/utils.py#L96
Raised to improve help description #5420
misohu commentedon Jun 6, 2025
Thanks @ntkathole that was exactly what I was searching for :) we can close the issue