Closed dayglojesus closed 7 years ago
Should be an easy fix if you want to take a stab. Just need to add it to the call here https://github.com/mitchellh/packer/blob/c22b97dd439502102e3ffd34775cc38f96a806b5/post-processor/amazon-import/post-processor.go#L220
@mwhooker I will do that. Cheers.
@mwhooker PR submitted. Code tested, working.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
The
amazon-import
post-processor provides no configuration option forLicenseType
per the CLI help:As a result, the license type selected during the import appears to be
BYOL
for all Linux platform imports andAWS
for any Windows images.Not sure why these are the defaults, but there is no way to control the behaviour when the import is driven by Packer. Bummer.