aws / aws-k8s-tester

AWS Kubernetes tester, kubetest2 deployer implementation
Apache License 2.0
163 stars 82 forks source link

Determine default instance types based on AMI architecture #449

Closed cartermckinnon closed 4 months ago

cartermckinnon commented 4 months ago

Description of changes:

When --instance-types is not specified, we set a default list of x86_64 instance types. This adds an ec2:DescribeImages call to determine the AMI's architecture, so that arm64 AMI's don't always require an --instance-types override.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.