How to dynamically update parameters of an existing Airflow (1.9 version)Connection within code?
How to dynamically update parameters of an existing Airflow (1.9 version)Connection within code? I have defined a SSH connection via Airflow Admin UI. However I am only defining a service account , host and port in the UI. I am retrieving the password in the first task instance and I need to update the SSH connection with the password in the second task instance and use it in the third task instance. Currently t1 and t2 work as expected ,however t3 fails since the password is not getting updated and it is looking for .ssh key file based authentication. Can someone please suggest how this can be implemented ? .ssh Here is my code snippet : from airflow import models from airflow.contrib.operators.ssh_operator import SSHOperator from airflow.operators.python_operator import PythonOperator from airflow.operators.bash_operator import BashOperator from datetime import datetime, timedelta from airflow.contrib.hooks.ssh_hook import SSHHook from airflow.models impo...