What's the variable key you are using. Does it follow this convention?

https://airflow.apache.org/configuration.html

That's AIRFLOW (two underscores)  configuration section (two underscores)
env var.


G>


On Thu, Nov 9, 2017 at 8:30 AM, Somasundaram Sekar <
[email protected]> wrote:

> I tried using ENV variable to configure connection urls, I have an ami that
> is preconfigured with alchemy_conn and broker_url etc, I have written
> environment variables to /etc/environment in the instances being spun up
> from the amis to override the properties in airflow.cfg file. I was able to
> access the variables from python code as well.
>
> But it doesn't seem to take effect while running ariflow, tried restarting
> the process as well but didn't work, it still points to the one in
> airflow.cfg file
>
> Any help appreciated.
>
> Regards,
>
> Somasundaram S
>

Reply via email to