btoh commented on issue #27078:
URL: https://github.com/apache/airflow/issues/27078#issuecomment-1282376565
Hi @o-nikolas, here is some sample code I'm using:
`conn = Connection(conn_id='aws_test', conn_type='aws', extra =
{'region_name':'eu-west-2', 'role_arn': 'arn:aws:xxxxxxx',
'assume_role_method': 'assume_role', 'host':
'elasticmapreduce.eu-west-2.amazonaws.com'})`
I then commit this connection using `settings.Session().add(conn)` and then
`settings.Session().commit()` to persist the connection in the Airflow
connections database.
When I try to use the connection in an operator, say the
`EmrAddStepsOperator`, I get a timeout, because Airflow is trying to connect to
`sts.amazonaws.com` instead
--
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]