Packer version: 1.6.6
My operating system: Ubuntu

On Thursday, April 15, 2021 at 2:07:23 PM UTC+2 Amedee Van Gasse wrote:

> I'm using Packer to create AMIs on AWS EC2.
> I understand that Packer uses a randomly generated SSH key pair to connect 
> to an EC2 instance that will be the AMI.
>
> Now I have seen in the AWS console, in Key pairs, that there are dozens of 
> leftover key pairs, all named packer_<some-long-hexadecimal-id>.
>
> I know that I can manually delete these keys, but is there a way to tell 
> Packer to delete the key pair on AWS when it is done?
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/a90663c6-b64d-4d65-b7a0-a226004c503fn%40googlegroups.com.

Reply via email to