Closed boegel closed 3 years ago
sudo /usr/local/bin/run-packer aarch64 fails because the base AMI is not found.
sudo /usr/local/bin/run-packer aarch64
The problem seems to be the architecture part of the filter, which includes escaped double quotes:
architecture
==> amazon-ebs.aws: No AMI was found matching filters: { ==> amazon-ebs.aws: Filters: [{ ==> amazon-ebs.aws: Name: "architecture", ==> amazon-ebs.aws: Values: ["\"arm64\""] ...
I was able to dance around this issue by changing this line in /etc/citc/packer/all.pkr.hcl:
/etc/citc/packer/all.pkr.hcl
architecture = var.aws_arch
to:
architecture = "arm64"
Full output:
Thanks for the report. I've just merged #104 which fixes this.
sudo /usr/local/bin/run-packer aarch64
fails because the base AMI is not found.The problem seems to be the
architecture
part of the filter, which includes escaped double quotes:I was able to dance around this issue by changing this line in
/etc/citc/packer/all.pkr.hcl
:to:
Full output: