Skip to content

Commit

Permalink
add arch to search criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas committed Apr 7, 2020
1 parent c0f057b commit 7c09f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoscaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (a *Autoscaling) getECSAMI() (string, error) {
Filters: []*ec2.Filter{
{Name: aws.String("name"), Values: []*string{aws.String("amzn2-ami-ecs-*")}},
{Name: aws.String("virtualization-type"), Values: []*string{aws.String("hvm")}},
{Name: aws.String("architecture"), Values: []*string{aws.String("x86_64")}},
},
}
result, err := svc.DescribeImages(input)
Expand Down

0 comments on commit 7c09f9d

Please sign in to comment.