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

Terraform data returns empty results for ami for Fedora-CoreOS on AWS #886

Closed
vamshisiddarth opened this issue Nov 25, 2020 · 0 comments · Fixed by #887
Closed

Terraform data returns empty results for ami for Fedora-CoreOS on AWS #886

vamshisiddarth opened this issue Nov 25, 2020 · 0 comments · Fixed by #887
Labels

Comments

@vamshisiddarth
Copy link

Description

Terraform apply is failing while trying to create the cluster with below error.

Error: Your query returned no results. Please change your search criteria and try again.

Error: Your query returned no results. Please change your search criteria and try again.

I checked the code in ami.tf for the same and the code looks absolutely fine and even verified the filters as well. Please let me know if this is breaking for everyone.

Steps to Reproduce

  • Git clone the repo or point the terraform code typhoon source.
  • terraform init
  • terraform plan

Expected behavior

Kubernetes cluster should be created on Fedora CoreOS nodes.

Environment

  • Platform: aws
  • OS: fedora-coreos
  • Release: v1.19.4
  • Terraform: Terraform v0.13.5
  • Plugins: ct 0.6.1 and aws 3.2.0
dghubble added a commit that referenced this issue Nov 25, 2020
* A `aws_ami` data source will fail a Terraform plan
if no matching AMI is found, even if the AMI is not
used. ARM64 images are only published to a few US
regions, so the `aws_ami` data query could fail when
creating Fedora CoreOS AWS clusters in non-US regions
* Condition `aws_ami` on whether experimental arch
`arm64` is chosen
* Recent regression introduced in v1.19.4
#875

Closes #886
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants