raphaelauv commented on issue #71664:
URL: https://github.com/apache/airflow/issues/71664#issuecomment-5304923567
if I add to `airflowLocalSettings`
```
airflowLocalSettings: |-
# ...
from sqlalchemy.engine import Engine
@event.listens_for(Engine, "do_connect")
def provide_rds_token(dialect, conn_rec, cargs, cparams):
if dialect.name != "postgresql":
return
cparams["password"] = generate_rds_token(
user=cparams["user"],
host=cparams["host"],
port=cparams.get("port", 5432),
region=cparams["host"].split(".")[2],
)
cparams["sslmode"] = "require"
```
then the createUserJob works. Is this correct to do so ? thanks
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]