AWS Key Pair Terraform module
Upstream version 3.0.1
0 controls from Registry requirements
Terraform Module Source
registry.compliance.tf/terraform-aws-modules/key-pair/aws10 unique
| Name | Type | Default | Description |
|---|---|---|---|
| Optional | |||
create | bool | true | Determines whether resources will be created (affects all resources) |
create_private_key | bool | false | Determines whether a private key will be created |
key_name | string | null | The name for the key pair. Conflicts with `key_name_prefix` |
key_name_prefix | string | null | Creates a unique name beginning with the specified prefix. Conflicts with `key_name` |
private_key_algorithm | string | "RSA" | Name of the algorithm to use when generating the private key. Currently-supported values are `RSA` and `ED25519` |
private_key_ecdsa_curve | string | null | When algorithm is `ECDSA`, the name of the elliptic curve to use. Currently-supported values are: `P224`, `P256`, `P384`, `P521`. (default: `P224`) |
private_key_rsa_bits | number | 4096 | When algorithm is `RSA`, the size of the generated RSA key, in bits (default: `4096`) |
public_key | string | "" | The public key material |
region | string | null | Region where the resource(s) will be managed. Defaults to the Region set in the provider configuration |
tags | map(string) | {} | A map of tags to add to all resources |