Skip to content

Commit

Permalink
Updated filter pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 committed Jan 16, 2024
1 parent 28c0f43 commit 5978aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/aws/ami.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 5978aa8

Please sign in to comment.