From 5978aa8cdc368b26f945146c54647b454cb89122 Mon Sep 17 00:00:00 2001 From: Denis O Date: Tue, 16 Jan 2024 18:25:27 +0000 Subject: [PATCH] Updated filter pattern --- modules/aws/ami.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aws/ami.go b/modules/aws/ami.go index 8fcc5c7dd..c05879df0 100644 --- a/modules/aws/ami.go +++ b/modules/aws/ami.go @@ -274,7 +274,7 @@ func GetAmazonLinuxAmi(t testing.TestingT, region string) string { // GetAmazonLinuxAmiE returns an Amazon Linux AMI HVM, SSD Volume Type public AMI for the given region. func GetAmazonLinuxAmiE(t testing.TestingT, region string) (string, error) { filters := map[string][]string{ - "name": {"*amzn-ami-hvm-*-x86_64*"}, + "name": {"*amzn2-ami-hvm-*-x86_64*"}, "virtualization-type": {"hvm"}, "architecture": {"x86_64"}, "root-device-type": {"ebs"},