Closed vkumbha closed 9 months ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
@vkumbha this is the expected behaviour.
https://flowpipe.io/docs/reference/config-files
Flowpipe will load ALL configuration files (*.fpc) from every directory in the [configuration search path](https://flowpipe.io/docs/reference/env-vars/flowpipe_config_path), with decreasing precedence. By default, the configuration search path includes the current directory (or --mod-location if specified) followed by the config directory in the [FLOWPIPE_INSTALL_DIR](https://flowpipe.io/docs/reference/env-vars/flowpipe_install_dir): .:$FLOWPIPE_INSTALL_DIR/config. This allows you to manage your workspaces and credentials centrally in the ~/.flowpipe/config directory, but override them in the working directory / mod location if desired.
You're meant to be able to override the configuration resources.
Using the same
profile
in flowpipe config and mod location should throw an error.I have the same profile called
my_server
in the~/.flowpipe/config/workspaces.fpc
file and also in the mod location~/turbie/turbot/flowpipe-samples/simple/http_list_pagination
. Irrespective of whether the settings in these profiles are same/different. When using same profile name in both locations, flowpipe should throw an error.Looks like it is loading the mod location configuration for now.