Skip to content

Commit

Permalink
Fix AMI filtering to include owner-alias
Browse files Browse the repository at this point in the history
  • Loading branch information
LikithaVemulapalli committed Nov 14, 2024
1 parent da8dca4 commit 2304bd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ec2helper/ec2helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,12 @@ func getDescribeImagesInputs(rootDeviceType string, architectures []*string) *ma
Name: aws.String("architecture"),
Values: architectures,
},
{
Name: aws.String("owner-alias"),
Values: []*string{
aws.String("amazon"),
},
},
},
}
}
Expand Down

0 comments on commit 2304bd6

Please sign in to comment.