https://github.com/jameswoolfenden/terraform-tls-key
Basic SSH key module
https://github.com/jameswoolfenden/terraform-tls-key
module terraform tls
Last synced: over 1 year ago
JSON representation
Basic SSH key module
- Host: GitHub
- URL: https://github.com/jameswoolfenden/terraform-tls-key
- Owner: JamesWoolfenden
- License: apache-2.0
- Created: 2021-03-13T12:22:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T08:09:33.000Z (almost 5 years ago)
- Last Synced: 2025-01-25T19:27:35.432Z (over 1 year ago)
- Topics: module, terraform, tls
- Language: Makefile
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-tls-ssh
[](https://github.com/JamesWoolfenden/terraform-tls-key)
[](https://github.com/JamesWoolfenden/terraform-tls-key/releases/latest)
[](https://github.com/JamesWoolfenden/terraform-tls-key/releases/latest)

[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-tls-key&benchmark=CIS+AWS+V1.2)
[](https://github.com/pre-commit/pre-commit)
[](https://www.checkov.io/)
[](https://www.bridgecrew.cloud/link/badge?vcs=github&fullRepo=JamesWoolfenden%2Fterraform-tls-key&benchmark=INFRASTRUCTURE+SECURITY)
Terraform module make an SSH key.
---
It's 100% Open Source and licensed under the [APACHE2](LICENSE).
## Introduction
Get an SSH key
## Usage
Include this repository as a module in your existing Terraform code:
```hcl
module "key" {
source = "JamesWoolfenden/key/tls"
version = "0.0.1"
out_dir = path.module
}
```
## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [local](#provider\_local) | n/a |
| [tls](#provider\_tls) | n/a |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [local_file.privatekey](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
| [local_file.publickey](https://registry.terraform.io/providers/hashicorp/local/latest/docs/resources/file) | resource |
| [tls_private_key.ssh](https://registry.terraform.io/providers/hashicorp/tls/latest/docs/resources/private_key) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [key\_name](#input\_key\_name) | Name of the key | `string` | `"id_rsa"` | no |
| [out\_dir](#input\_out\_dir) | Where do you want your key files | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [private\_key](#output\_private\_key) | n/a |
| [public\_key](#output\_public\_key) | n/a |
## Help
**Got a question?**
File a GitHub [issue](https://github.com/JamesWoolfenden/terraform-ssm-bastion/issues).
## Contributing
### Bug Reports & Feature Requests
Please use the [issue tracker](https://github.com/JamesWoolfenden/terraform-ssm-bastion/issues) to report any bugs or file feature requests.
## Copyrights
Copyright © 2019-2021 James Woolfenden
## License
[](https://opensource.org/licenses/Apache-2.0)
See [LICENSE](LICENSE) for full details.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
### Contributors
[![James Woolfenden][jameswoolfenden_avatar]][jameswoolfenden_homepage]
[James Woolfenden][jameswoolfenden_homepage]
![Jukka Keski-Luopa][keskiju_avatar]
[Jukka Keski-Luopa][keskiju_homepage]
[jameswoolfenden_homepage]: https://github.com/jameswoolfenden
[jameswoolfenden_avatar]: https://github.com/jameswoolfenden.png?size=150
[keskiju_homepage]: https://github.com/keskiju
[keskiju_avatar]: https://github.com/keskiju.png?size=150
[linkedin]: https://www.linkedin.com/in/jameswoolfenden/
[twitter]: https://twitter.com/JimWoolfenden
[github]: https://github.com/jameswoolfenden
[share_twitter]: https://twitter.com/intent/tweet/?text=terraform-aws-sns&url=https://github.com/JamesWoolfenden/terraform-aws-sns
[share_linkedin]: https://www.linkedin.com/shareArticle?mini=true&title=terraform-aws-sns&url=https://github.com/JamesWoolfenden/terraform-aws-sns
[share_reddit]: https://reddit.com/submit/?url=https://github.com/JamesWoolfenden/terraform-aws-sns
[share_facebook]: https://facebook.com/sharer/sharer.php?u=https://github.com/JamesWoolfenden/terraform-aws-sns
[share_email]: mailto:?subject=terraform-aws-sns&body=https://github.com/JamesWoolfenden/terraform-aws-sns