https://github.com/mediapop/terraform-aws-key
Local private key to AWS key registration.
https://github.com/mediapop/terraform-aws-key
Last synced: 3 months ago
JSON representation
Local private key to AWS key registration.
- Host: GitHub
- URL: https://github.com/mediapop/terraform-aws-key
- Owner: mediapop
- License: mit
- Created: 2018-06-27T15:29:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T10:29:56.000Z (over 4 years ago)
- Last Synced: 2025-01-24T08:11:38.709Z (4 months ago)
- Language: HCL
- Size: 3.91 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform AWS Key
*This terraform module is maintained by [Media Pop](https://www.mediapop.co), a software consultancy. Hire us to solve your DevOps challenges.*
Simplest way of putting a SSH key pair on AWS.
# Usage
```hcl
module "key" {
source = "mediapop/key/aws"
}resource "aws_instance" "instance" {
key_name = module.key.name
// ...
}
```## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| path | The path to the private SSH key | string | ~/.ssh/id_rsa | no |## Outputs
| Name | Description | Type |
|------|-------------|:----:|
| name | The AWS key name | string |
| private_key_path | Where the private key is located | string |## License
MIT