Closed OlaSegha closed 1 year ago
Hi @OlaSegha,
This looks coherent with what's described in the AWS docs for EFI builds here, which seems to be your case. In this case Platform
must be specified as either Windows
or Linux
in order for the import to be successful.
The work needed here is not extensive it seems, I'll see to have a PR open for that this week.
Thanks for reporting this!
Overview of the Issue
The post-processor amazon-import (import-image-task) gets stuck in "updating" because the platform is not provided.
The AWS EC2 equivalent of this process provides an optional
--platform
flag which is not available in thepacker-plugin-amazon
plugin.Reproduction Steps
Result
Which eventually gets deleted.
Plugin and Packer version
Operating system and Environment details
Log Fragments and crash.log files
Alternatively I have tested the AWS CLI Command that does the same thing
and got the same results. But setting platform in the CLI command works.