hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder
https://www.packer.io/docs/builders/amazon
Mozilla Public License 2.0
69 stars 104 forks source link

fix: Finalize uefi-preferred use for amazon-import #450

Closed MarkProminic closed 5 months ago

MarkProminic commented 5 months ago

Back in March in version 1.2.2 there was code added to the boot_mode_validation_test.go and various other validation files, uefi-preferred was allowed, but in post-processor.go it was not allowed, atleast for the amazon-import.

Tests were already committed prior to 1.2.2 release

Existing Issues already closed

https://github.com/hashicorp/packer-plugin-amazon/issues/340 https://github.com/hashicorp/packer-plugin-amazon/issues/362

Built locally and tested.

With this change I am now able to publish hybrid bios/efi images built from other packer provisioners and have them run on any ec2 instance type, ie t2 targeted for the free tier offering.

hashicorp-cla commented 5 months ago

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.