key-pair
cloudposse/key-pair/aws
Terraform Module to Automatically Generate SSH Key Pairs (Public/Private Keys)
terraform-aws-key-pair   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module for generating or importing an SSH public key file into AWS. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! Security & Compliance Se
| Name | Type | Description | Default |
|---|---|---|---|
| ssh_public_key_path | string | Path to SSH public key directory (e.g. `/secrets`) | required |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | null |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | null |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | null |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| ssm_parameter_enabled | bool | Whether an SSM parameter store value is created to store the key's private key p | false |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | null |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | null |
| generate_ssh_key | bool | If set to `true`, new SSH key pair will be created and `ssh_public_key_file` wil | false |
| ssh_key_algorithm | string | SSH key algorithm | "RSA" |
| private_key_extension | string | Private key extension | "" |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | null |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | null |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | null |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | null |
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | null |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
key_name — Name of SSH keypublic_key — Content of the generated public keyprivate_key — Content of the generated private keypublic_key_filename — Public Key Filenameprivate_key_filename — Private Key FilenameAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,