Hi team ! In my metaflow project, the flow is supp...
# ask-metaflow
i
Hi team ! In my metaflow project, the flow is supposed to be running on 2 AWS accounts : one production account and one development account. Therefore I need 2 different metaflow config.json files (1 per account). How can I handle / easily switch from one config.son to another one ? Is there any way to have one config_prod.json and another config_dev.json ? any best practice / recommendations ? Thanks in advance !
1
a
@important-xylophone-52223 you can do
METAFLOW_PROFILE=prod python flow.py run
to pick up the config that resides in
config_prod.json
and similarly for
dev
etc.
i
Wonderful, that is very easy actually. Thanks for the quick answer @square-wire-39606
yayfox 1