From 63008a41d34e4ec876f6a7be6efd44f25448a7c6 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 31 Mar 2020 01:06:16 +0200 Subject: [PATCH] update ecs base ami --- autoscaling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoscaling.go b/autoscaling.go index 480cfe3..5f62b68 100644 --- a/autoscaling.go +++ b/autoscaling.go @@ -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")}}, }, }