1
0
Fork 0
mirror of synced 2025-04-06 06:33:34 +03:00

Update cloudformation-template-ipsec

This commit is contained in:
S. X. Liang 2020-08-27 10:33:31 -04:00 committed by GitHub
parent 220954470d
commit fb6d18f604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)",