What file format do we need to upload variables through the admin in airflow?

Viewed 5044

I'm trying to define a variable file to upload through the airflow UI and I'm struggling to find the correct format to upload.

I've created a file called settings.cfg that looks like:

my_var=test

However when I try to upload this through the Airflow Admin->Variables dialog I get the following message:

Missing file or syntax error.

What am I missing?

1 Answers
Related