diff --git a/aws/cloudformation-template-ipsec b/aws/cloudformation-template-ipsec index ed7869b..f95bb40 100644 --- a/aws/cloudformation-template-ipsec +++ b/aws/cloudformation-template-ipsec @@ -584,9 +584,9 @@ " elif distribution == 'Ubuntu20.04':", " IAMName = 'ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-*'", " elif distribution == 'Debian9':", - " IAMName = 'debian-stretch-hvm-x86_64-gp2-2020-07-20-58035'", + " IAMName = 'debian-stretch-hvm-x86_64-gp2-*'", " elif distribution == 'Debian10':", - " IAMName = 'debian-10-amd64-20200803-347'", + " IAMName = 'debian-10-amd64-*'", " response = ec2.describe_images(Filters=[{'Name':'name', 'Values':[IAMName]}])", " images = response['Images']", " images.sort(key=creation_date,reverse=True)",