btoh opened a new issue, #27078:
URL: https://github.com/apache/airflow/issues/27078

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   I get connection time out when doing an assume_role with `AwsBaseHook`. I 
have provided an endpoint URL in the connection, but it keeps trying to connect 
to the default endpoint sts.amazonaws.com
   
   ### What you think should happen instead
   
   It should pick up my endpoint url and connect to it instead. I have this 
working when I use boto3 directly, but I would like to get it working directly 
within the hook
   
   ### How to reproduce
   
   1. Create connection within Airflow UI. Connection type is 'AWS', and in 
extras, provide an ARN, a region name and assume_role_method. In my case,  
`assume_role_method`: `assume_role`
   2. Use `AwsBaseHook`  to assume role: `hook = 
AwsBaseHook(aws_conn_id=connection_id, region_name=region)`
   
   ### Operating System
   
   MacOs
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers==3.2.0
   
   ### Deployment
   
   MWAA
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to