Skip to content

Commit

Permalink
update ecs base ami
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas committed Mar 30, 2020
1 parent 3724097 commit 63008a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoscaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (a *Autoscaling) getECSAMI() (string, error) {
input := &ec2.DescribeImagesInput{
Owners: []*string{aws.String("591542846629")}, // AWS
Filters: []*ec2.Filter{
{Name: aws.String("name"), Values: []*string{aws.String("amzn-ami-*-amazon-ecs-optimized")}},
{Name: aws.String("name"), Values: []*string{aws.String("amzn2-ami-ecs-*")}},
{Name: aws.String("virtualization-type"), Values: []*string{aws.String("hvm")}},
},
}
Expand Down

0 comments on commit 63008a4

Please sign in to comment.