vincbeck commented on code in PR #45725: URL: https://github.com/apache/airflow/pull/45725#discussion_r1919210679
########## providers/src/airflow/providers/amazon/aws/hooks/eks.py: ########## @@ -612,9 +614,11 @@ def generate_config_file( def fetch_access_token_for_cluster(self, eks_cluster_name: str) -> str: session = self.get_session() service_id = self.conn.meta.service_model.service_id - sts_url = ( - f"https://sts.{session.region_name}.amazonaws.com/?Action=GetCallerIdentity&Version=2011-06-15" - ) + os.environ["AWS_STS_REGIONAL_ENDPOINTS"] = "regional" Review Comment: Maybe leave a comment to explain why we need this? -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org