Skip to content

Conversation

@o-nikolas
Copy link
Contributor

@o-nikolas o-nikolas commented Jan 16, 2025

Up until now the STS endpoint url used by the EKS hook (during token generation) was hardcoded to be the commercial partition. This change ensures the endpoint urls respect partitions and regions.

fixes #45368

Prior work and context:


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Up until now the STS endpoint url used by the EKS hook (during token
generation) was hardcoded to be the commercial partition. This change
ensures the endpoint urls respect partitions and regions.
@o-nikolas o-nikolas requested a review from eladkal as a code owner January 16, 2025 21:20
@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels Jan 16, 2025
@o-nikolas o-nikolas merged commit 439f7b1 into apache:main Jan 16, 2025
61 checks passed
@o-nikolas o-nikolas deleted the onikolas/eks_sts_cn_issue branch January 16, 2025 22:46
dauinh pushed a commit to dauinh/airflow that referenced this pull request Jan 24, 2025
Up until now the STS endpoint url used by the EKS hook (during token
generation) was hardcoded to be the commercial partition. This change
ensures the endpoint urls respect partitions and regions.
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
Up until now the STS endpoint url used by the EKS hook (during token
generation) was hardcoded to be the commercial partition. This change
ensures the endpoint urls respect partitions and regions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There is a bug in connecting to EKS using the airflow.providers.amazon.aws.operators.eks library in China.

2 participants