From ac786a2efc371a61d04ea040ded4be8205fe073c Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 11 Jan 2020 16:51:08 -0800 Subject: [PATCH] Update AWS Fedora CoreOS AMI filter for fedora-coreos-31 * Select the most recent fedora-coreos-31 AMI on AWS, instead of the most recent fedora-coreos-30 AMI (Nov 27, 2019) * Evaluated with fedora-coreos-31.20200108.2.0-hvm --- aws/fedora-coreos/kubernetes/ami.tf | 4 ++-- aws/fedora-coreos/kubernetes/workers/ami.tf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aws/fedora-coreos/kubernetes/ami.tf b/aws/fedora-coreos/kubernetes/ami.tf index 7e099050..c6da3b36 100644 --- a/aws/fedora-coreos/kubernetes/ami.tf +++ b/aws/fedora-coreos/kubernetes/ami.tf @@ -15,9 +15,9 @@ data "aws_ami" "fedora-coreos" { filter { name = "name" - values = ["fedora-coreos-30.*.*-hvm"] + values = ["fedora-coreos-31.*.*.*-hvm"] } # try to filter out dev images (AWS filters can't) - name_regex = "^fedora-coreos-30.[0-9]*.[0-9]*-hvm*" + name_regex = "^fedora-coreos-31.[0-9]*.[0-9]*.[0-9]*-hvm*" } diff --git a/aws/fedora-coreos/kubernetes/workers/ami.tf b/aws/fedora-coreos/kubernetes/workers/ami.tf index 7e099050..c6da3b36 100644 --- a/aws/fedora-coreos/kubernetes/workers/ami.tf +++ b/aws/fedora-coreos/kubernetes/workers/ami.tf @@ -15,9 +15,9 @@ data "aws_ami" "fedora-coreos" { filter { name = "name" - values = ["fedora-coreos-30.*.*-hvm"] + values = ["fedora-coreos-31.*.*.*-hvm"] } # try to filter out dev images (AWS filters can't) - name_regex = "^fedora-coreos-30.[0-9]*.[0-9]*-hvm*" + name_regex = "^fedora-coreos-31.[0-9]*.[0-9]*.[0-9]*-hvm*" }