christopherhein / terraform-eks

Create an EKS cluster using terraform
56 stars 92 forks source link

AMI eks-worker-* query returned no results #3

Open MukarramAli1729 opened 5 years ago

MukarramAli1729 commented 5 years ago

After cloning the repo, the first thing I fall into this.

data "aws_ami" "eks-worker" {
    filter {
      name   = "name"
      values = ["eks-worker-*"]
    }

    most_recent = true
    owners      = ["602401143452"] # Amazon
  }

It seems aws is following different convention.

Using amazon-eks-* fixed the issue.