Skip to content

temporary_key_pair_type option has no effect #144

@jsf9k

Description

@jsf9k

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

  1. Create a Packer Buildfile using the AWS EBS builder and include the option "temporary_key_pair_type": "ed25519". (I should mention that I am using a JSON template.)
  2. Run packer
  3. Observe in the AWS Console that the temporary EC2 keypair created is of type RSA.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions