Add Debian ARM AMI.

This commit is contained in:
Brad Warren 2019-06-25 11:04:13 -07:00
parent 9962cf0b8e
commit 063cddceb1
3 changed files with 15 additions and 1 deletions

View file

@ -33,6 +33,12 @@ targets:
type: ubuntu
virt: hvm
user: admin
- ami: ami-0ed54dd1b25657636
name: debian9_arm64
type: ubuntu
virt: hvm
user: admin
machine_type: a1.medium
- ami: ami-077bf3962f29d3fa4
name: debian8.1
type: ubuntu

View file

@ -307,7 +307,9 @@ def grab_certbot_log():
def create_client_instance(ec2_client, target, security_group_id, subnet_id):
"""Create a single client instance for running tests."""
if target['virt'] == 'hvm':
if 'machine_type' in target:
machine_type = target['machine_type']
elif target['virt'] == 'hvm':
machine_type = 't2.medium' if cl_args.fast else 't2.micro'
else:
# 32 bit systems

View file

@ -33,6 +33,12 @@ targets:
type: ubuntu
virt: hvm
user: admin
- ami: ami-0ed54dd1b25657636
name: debian9_arm64
type: ubuntu
virt: hvm
user: admin
machine_type: a1.medium
- ami: ami-077bf3962f29d3fa4
name: debian8.1
type: ubuntu