hashicorp / packer-plugin-amazon

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

Add uefi_preferred to boot_mode on Amazon builders #340

Closed hc-github-team-packer closed 1 year ago

hc-github-team-packer commented 1 year ago

This issue was originally opened by @andrewmiskell in https://github.com/hashicorp/packer/issues/12299 and has been migrated to this repository. The original issue description is below.


AWS now supports a third boot_mode for EC2 instances "uefi_preferred" which allows for the creation of a legacy-bios/uefi hybrid image which has greater compatibility with EC2 instances.

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html

Can this boot mode option be added to the Amazon builders?

Community Note