ashb commented on pull request #15727:
URL: https://github.com/apache/airflow/pull/15727#issuecomment-849605455
I'm sorry, this is a "Wont Fix" -- templating the connection ID and
randomizing doesn't provide any security as it's possible to just list all the
connections anyway.
If you want to make this change work for your DAGs anyway you can try this
```
op = AwsSomethingOperator(task_id='x', aws_conn_id='{{ x }}')
op.template_fields = op.template_fields + ('aws_conn_id',)
```
(Or you can do the same by subclassing operator so you don't need to do this
in every dag.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]