terraform-aws-key-pair — Cloud Posse Developer Hub

namespace Namespace (e.g. cp or cloudposse) Yes stage Stage (e.g. prod, dev, staging) Yes name Application Name (e.g. bastion or app) Yes ssh_public_key_path Path to Read/Write SSH Public Key File (directory) Yes generate_ssh_key false If set to true, new ssh key pair will be created No private_key_extension Private key file extension, e.g. .pem No public_key_extension .pub Public key file extension, e.g. .pub Yes chmod_command chmod 600 %v Template of the command executed on the private key file. Yes(Linux), No(Windows)

This is a companion discussion topic for the original entry at https://docs.cloudposse.com/terraform-modules/security/terraform-aws-key-pair/