Hi I am working with a team that is using metaflow...
# ask-metaflow
a
Hi I am working with a team that is using metaflow and each app with flows has a lot of metaflow config that is being set. Is there a way to get the config such as S3 bucket from the main metaflow url so less config has to be passed to each app?
1
Here are some of the variables the app is being sent. It seems like some of these you should be able to query from metaflow itself if you have the metaflow url. I am having a hard time finding out how to do this since the other team set this up.
Copy code
METAFLOW__USER'
METAFLOW__DEFAULT_REGION'
METAFLOW__DATASTORE_SYSROOT_S3'
METAFLOW__DATATOOLS_SYSROOT_S3'
METAFLOW__S3_ENDPOINT_URL'
METAFLOW__S3_ACCESS_IAM_ROLE'
METAFLOW__DEFAULT_DATASTORE'
METAFLOW__DEFAULT_METADATA'
METAFLOW__SERVICE_INTERNAL_URL'
METAFLOW__SERVICE_URL', 'service_url'
METAFLOW__KUBERNETES_SECRETS'
METAFLOW__INTERNAL_SECRET'
METAFLOW__KUBERNETES_CONTAINER_IMAGE'
METAFLOW__BATCH_JOB_QUEUE'
METAFLOW__BATCH_CONTAINER_IMAGE'
METAFLOW__AWS_DEFAULT_REGION'
v
you can have a separate config profile for each team
then you need to set only one environment variable, METAFLOW_PROFILE to set the full config
a
This looks like we want. Thanks!
👍 1