-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
temporary_key_pair_type option has no effect #144
Comments
I just came here to report this! Here is the announcement from AWS saying they now support ed25519... https://aws.amazon.com/about-aws/whats-new/2021/08/amazon-ec2-customers-ed25519-keys-authentication/ |
* Enable temporary_key_pair_type option for ed25519 Closes #144 * Improve temporary_key_pair_type validation Default to "rsa" if not given. Error if a value other than "rsa" or "ed25519" is given. * Add tests for temporary_key_pair_type * go fmt
To make the temporary_key_pair_type key work on Amazon, I had to use specifically Packer 1.8.0, as explained in the link below: hashicorp/packer#10074 (comment) I previously tried Packer 1.2.4, 1.3.2, and 1.11.1 and none of them allowed me to use the temporary_key_pair_type key, but with Packer 1.8.0 it worked. |
Overview of the Issue
Although the documentation lists it, the
temporary_key_pair_type
configuration option does not appear to actually do anything; furthermore, I do not see that option used at all in builder/common/step_key_pair.go.Reproduction Steps
"temporary_key_pair_type": "ed25519"
. (I should mention that I am using a JSON template.)packer
Plugin and Packer version
v1.7.3
Operating system and Environment details
This is happening in a GitHub Action running Ubuntu 20.04.3 LTS.
The text was updated successfully, but these errors were encountered: