Taragolis commented on issue #27078:
URL: https://github.com/apache/airflow/issues/27078#issuecomment-1283710925

   > STS service use global endpoint `https://sts.amazonaws.com` which not 
depend on actual `region_name`,
   
   I've double checked and found this is not correct in all cases. 
   
   Actually AWS has regional endpoints for STS (like 
`sts.eu-west-2.amazonaws.com`) but boto3 use STS global endpoint by default, 
see: 
https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html,
 and [there is no public API in 
boto3/botocore](https://github.com/boto/botocore/issues/2202) for change this 
parameter except set environment variable `AWS_STS_REGIONAL_ENDPOINTS=regional` 
or specify settings in profile config.
   
   It also might cause some issue in some circumstances with specific network 
configurations.


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