-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
"Your query returned no results" - when looking for AMI in cn-northwest-1 #824
Comments
@byakku @barryib variable "worker_ami_owner_id" {
description = "The ID of the owner for the AMI to use for the AWS EKS workers. Valid values are an AWS account ID, 'self' (the current account), or an AWS owner alias (e.g. 'amazon', 'aws-marketplace', 'microsoft')."
type = string
default = "961992271922" // The ID of the owner of the official AWS EKS AMIs.
}
variable "worker_ami_owner_id_windows" {
description = "The ID of the owner for the AMI to use for the AWS EKS Windows workers. Valid values are an AWS account ID, 'self' (the current account), or an AWS owner alias (e.g. 'amazon', 'aws-marketplace', 'microsoft')."
type = string
default = "016951021795" // The ID of the owner of the official AWS EKS Windows AMIs.
} |
@riveryc in cn-north-1, even with the correct ownerIDs set, I have no intention of ever hosting k8s on Windows, so spending time on resolving a config issue related to Windows is a bit frustrating. |
looks like this is now working with 1.16 in cn-north-1. |
It only works when manually setting the owner ids in china. Shouldn't the module take care of this? |
EKS got postponed, extremely sorry for late response but I was dodging main GH page for too long. When updated module error still persisted with |
I needed to set the |
cn-nw vars:
cn-north
With these in place, I successfully launched a cluster. |
This happened for me in us-east-2. However, my problem is that I had used a k8s version that had not been supported yet. I had originally added k8s version 1.23 in the cluster_version terraform variable. Changing it to 1.22 solved the issue. |
I have this issue with us-east-2 as well. I am using the default K8s version, but changing it to 1.2.2 also solve the issue for me as well. |
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. |
I have issues
Cannot locate AMI and not able to provide search query for EKS AMI
I'm submitting a...
What is the current behavior?
Currenly during plan I'm getting error:
If this is a bug, how to reproduce? Please include a code sample if relevant.
Slightly changed version of examples/basic
What's the expected behavior?
I expected terraform to successfully query the AWS for AMI. I'm using very old version of EKS module that works with more simple configuration so I believe errors that occur are because misconfiguration but couldn't manage to get it working.
Environment details
Any other relevant info
Region - cn-northwest-1
Providers:
The text was updated successfully, but these errors were encountered: