Generates and stores an EC2 Keypair in Secrets Manager
Example:
module "keypair" {
source = "git::https://github.com/rhythmictech/terraform-aws-secretsmanager-keypair"
name_prefix = "instance-keypair"
description = "SSH keypair for instances"
}
No requirements.
Name | Version |
---|---|
aws | n/a |
tls | n/a |
No modules.
Name | Type |
---|---|
aws_key_pair.keypair | resource |
aws_secretsmanager_secret.secret_key | resource |
aws_secretsmanager_secret_version.secret_key_value | resource |
tls_private_key.key | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
description | Description of secret | string |
"ssh key" |
no |
name_prefix | Prefix to add to keypair/secret name | string |
n/a | yes |
tags | Tags to add to supported resources | map(string) |
{} |
no |
Name | Description |
---|---|
key_name | Name of the keypair |