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.
Description of changes:
When
--instance-types
is not specified, we set a default list of x86_64 instance types. This adds anec2: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.