This terraform module is maintained by Media Pop, a software consultancy. Hire us to solve your DevOps challenges.
Simplest way of putting a SSH key pair on AWS.
module "key" {
source = "mediapop/key/aws"
}
resource "aws_instance" "instance" {
key_name = module.key.name
// ...
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
path | The path to the private SSH key | string | ~/.ssh/id_rsa | no |
Name | Description | Type |
---|---|---|
name | The AWS key name | string |
private_key_path | Where the private key is located | string |
MIT