-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect eks service principal for AWS China #1904
Comments
ugh, doesn't look like its consistent across services. Thanks for filing the issue, will have a temp fix up shortly |
actually, I take that back. This is patching an issue on AWS - could you please file a ticket with AWS regarding the endpoint for EKS. Per their docs and their API, it should be |
could you please share the AWS doc link? |
link for what exactly? |
Not sure if this is what you are looking for but: |
thanks a lot! It seems
|
@bryantbiggs sorry for the late response. just take a look and it's working for AWS China. Thank you very much for the fix! |
This issue has been resolved in version 18.7.3 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When creating EKS cluster IAM role in AWS China account, AWS complains the service principal is incorrect.
The EKS service principal should be
eks.amazonaws.com
for AWS China (see the AWS China EKS doc) as wellEKS service principal is specified in the TF code here
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction
Steps to reproduce the behavior:
terraform apply
Code Snippet to Reproduce
Expected behavior
EKS Cluster IAM role created successfully.
Actual behavior
EKS Cluster IAM role creation failed.
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: