Fix Fedora CoreOS AWS AMI query in non-US regions

* 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
https://github.com/poseidon/typhoon/pull/875

Closes https://github.com/poseidon/typhoon/issues/886
This commit is contained in:
Dalton Hubble
2020-11-25 11:01:47 -08:00
parent ba8d972c76
commit fa8f68f50e
5 changed files with 12 additions and 2 deletions

View File

@ -15,6 +15,12 @@ Notable changes between versions.
* NLB DNS name has both A and AAAA records
* NLB to target node traffic is IPv4 (no change)
### Fedora CoreOS
#### AWS
* Fix AMI query for which could fail in some regions ([#887](https://github.com/poseidon/typhoon/pull/887))
### Addons
* Update Prometheus from v2.22.2 to [v2.23.0-rc.0](https://github.com/prometheus/prometheus/releases/tag/v2.23.0-rc.0)