Skip to content

Commit f85ef84

Browse files
Fix AMI filtering to include owner-alias (#111)
1 parent da8dca4 commit f85ef84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/ec2helper/ec2helper.go

+6
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,12 @@ func getDescribeImagesInputs(rootDeviceType string, architectures []*string) *ma
408408
Name: aws.String("architecture"),
409409
Values: architectures,
410410
},
411+
{
412+
Name: aws.String("owner-alias"),
413+
Values: []*string{
414+
aws.String("amazon"),
415+
},
416+
},
411417
},
412418
}
413419
}

0 commit comments

Comments
 (0)