Skip to content

Commit 7556978

Browse files
authored
Merge pull request #1387 from gruntwork-io/fix-cicd-tests
Amazon Linux AMIs search fixes
2 parents 74d9df0 + 5978aa8 commit 7556978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aws/ami.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func GetAmazonLinuxAmi(t testing.TestingT, region string) string {
274274
// GetAmazonLinuxAmiE returns an Amazon Linux AMI HVM, SSD Volume Type public AMI for the given region.
275275
func GetAmazonLinuxAmiE(t testing.TestingT, region string) (string, error) {
276276
filters := map[string][]string{
277-
"name": {"*amzn-ami-hvm-*-x86_64*"},
277+
"name": {"*amzn2-ami-hvm-*-x86_64*"},
278278
"virtualization-type": {"hvm"},
279279
"architecture": {"x86_64"},
280280
"root-device-type": {"ebs"},

0 commit comments

Comments
 (0)