You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "George Miller (JIRA)" <ji...@apache.org> on 2019/06/25 15:13:00 UTC
[jira] [Created] (AIRFLOW-4850) Config _cmd options should
interpolate environment variables
George Miller created AIRFLOW-4850:
--------------------------------------
Summary: Config _cmd options should interpolate environment variables
Key: AIRFLOW-4850
URL: https://issues.apache.org/jira/browse/AIRFLOW-4850
Project: Apache Airflow
Issue Type: New Feature
Components: configuration
Affects Versions: 1.10.4
Reporter: George Miller
Assignee: George Miller
When specifying a configuration like sql_alchemy_conn_cmd, it should be able to interpolate environment variables from the environment that airflow is running from. This is really useful when you mount secrets as environment variables and want to use them in this type of configuration option. For example, this currently does not work:
`sql_alchemy_conn_cmd = echo ${POSTGRES_HOST}:${[POSTGRES_PASSWORD}@postgres.com|mailto:POSTGRES_PASSWORD%7D@postgres.com]`
The change is really simple, and I opened a PR for it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)