The AWS builders use the a1 instance types which are arm64 machines. The base type used will be a1.metal, which are the cheapest which expose KVM support.
Machine images are stored on AWS EBS service as a snapshot. New VMs can use the snapshot as an image by providing the AMI ID as the base image when a new VM is created.
Two environment variables are required to be set before initiating the command:
AWS_SECRET_ACCESS_KEY should be set with the appropriate values.
The packer binary should be in
AWS_ACCESS_KEY_ID=<id> AWS_SECRET_ACCESS_KEY=<secret> make create-aws-image