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

Fix Fedora CoreOS AWS AMI query in non-US regions #887

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented 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 Add experimental Fedora CoreOS arm64 support on AWS #875

Closes #886

* 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
@dghubble dghubble force-pushed the fcos-aws-ami-by-region branch from 1417652 to fa8f68f Compare November 25, 2020 19:32
@dghubble dghubble merged commit fa8f68f into master Nov 25, 2020
@dghubble dghubble deleted the fcos-aws-ami-by-region branch November 25, 2020 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform data returns empty results for ami for Fedora-CoreOS on AWS
1 participant