keypair

clouddrove/keypair/aws

Terraform Module HCL AWS

Terraform module for generating or importing an SSH public key file into AWS.

Install
module "keypair" {
source = "clouddrove/keypair/aws"
version = "1.3.1"
}
plain text: /constructs/tfmod-clouddrove-keypair-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS Keypair Terraform module for generating or importing an SSH public key file into AWS. We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infras

Inputs (13)
NameTypeDescriptionDefault
environmentstringEnvironment (e.g. `prod`, `dev`, `staging`).""
attributeslist(string)Additional attributes (e.g. `1`).[]
enable_key_pairboolA boolean flag to enable/disable key pair.true
private_key_rsa_bitsnumberWhen algorithm is `RSA`, the size of the generated RSA key, in bits (default: `44096
namestringName (e.g. `app` or `cluster`).""
label_orderlist(any)label order, e.g. `name`,`application`.[]
tagsmap(string)Additional tags (e.g. map(`BusinessUnit`,`XYZ`).{}
managedbystringManagedBy, eg 'CloudDrove'."[email protected]"
public_keystringName (e.g. `ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQ`).""
key_namestringName (e.g. `it-admin` or `devops`).""
create_private_key_enabledboolDetermines whether a private key will be createdfalse
private_key_algorithmstringName of the algorithm to use when generating the private key. Currently-supporte"RSA"
repositorystringTerraform current module repo"https://github.com/clouddrove/terraform
Outputs (6)
public_key_pem — Public key data in PEM (RFC 1421) format
name — Name of SSH key.
id — The key pair name.
arn — The key pair ARN.
private_key_id — Unique identifier for this resource: hexadecimal representation of the SHA1 checksum of the resource
public_key_openssh — The public key data in "Authorized Keys" format. This is populated only if the configured private ke
Resources (2)
aws_key_pairtls_private_key
Details
FrameworkTerraform Module
LanguageHCL
Version1.3.1
Cloud AWS
★ Stars12
Forks7
Total downloads17.4k
Inputs13
Outputs6
Resources2
LicenseApache-2.0
Namespaceclouddrove
Updated