Skip to content
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

Error in TF plan after EKS 1.20 upgrade #1376

Closed
Ghazgkull opened this issue May 19, 2021 · 3 comments
Closed

Error in TF plan after EKS 1.20 upgrade #1376

Ghazgkull opened this issue May 19, 2021 · 3 comments

Comments

@Ghazgkull
Copy link

Description

Please provide a clear and concise description of the issue you are encountering, your current setup, and what steps led up to the issue. If you can provide a reproduction, that will help tremendously.

After upgrading an EKS cluster to 1.20, attempts to run terraform plan result in an error from this module:

╷
│ Error: Your query returned no results. Please change your search criteria and try again.
│
│   on .terraform/modules/eks/data.tf line 27, in data "aws_ami" "eks_worker_windows":
│   27: data "aws_ami" "eks_worker_windows" {
│

Versions

  • Terraform:
    $ terraform -version
    Terraform v0.15.0
    on darwin_amd64
  • Provider(s):
    $ terraform providers -version
    Terraform v0.15.0
    on darwin_amd64
  • Module:
    v16.0.1 (also failed the same way on v15.1.0)

Reproduction

Steps to reproduce the behavior:

Using the same Terraform configuration of this module that has been working successfully for years, we're seeing an error from this module after upgrading our clusters to Kubernetes 1.20 on EKS.

It looks like something changed on the AWS side which is causing a lookup of a windows AMI to fail? Note that we're using the default AWS EKS AMI, not windows.

Code Snippet to Reproduce

I could share my config, but I think this is going to be a general problem that's not related to configuration... since it's an internal data lookup in the module.

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

@barryib
Copy link
Member

barryib commented May 19, 2021

This has been fixed in #1371. Will release it in few hours.

@barryib barryib closed this as completed May 19, 2021
@darkn3rd
Copy link

I am having this issue with Linux. What version can I use that doesn't have this issue?

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants