We are huge followers of the Cloud-Native DevOps movement and are firm believers in the power of treating Infrastructure as Code using immutable architecture & GitOps style deployments. We adhere to a strict automation mindset (automation first, as opposed to manual first with automation later) and strive to provide the best technical acumen that will enable organizations improve Cloud Security Posture, Release More Often, Scale with Demand, Brace Agility, Operate within Budget and focus on value derived by the time saved on the execution of a task rather than having to spend cycles on design & tool selection.
✔ Better utilization of cloud resources by 40%
✔ Self-service infrastructure provisioning by 35%
✔ Security and governance by 30%
✔ Return on value/investment by 20%
✔ Team management & governance by 15%
✔ Earlier detection of bugs by 32%
✔ Response to issues/events by 23%
Chat more? Email | Contact us
Creates an EC2 key pair on AWS
Creates an EC2 key pair resource with the provided public key
module "aws_key_pair" {
source = "git::https://github.com/LaunchRack/terraform-aws-key-pair.git"
key_name = "tools_dev"
public_key = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD3F6tyPEFEzV0LX3X8BsXdMsQz1x2cEikKDEY0aIj41qgxMCP/iteneqXSIFZBp5vizPvaoIR3Um9xK7PGoW8giupGn+EPuxIA4cDM4vzOqOkiMPhz5XK0whEjkVzTo4+S0puvDZuwIsdiW9mxhJc7tgBNL0cYlWSYVkz4G/fslNfRPW5mYAM49f4fhtxPb5ok4Q2Lg9dPKVHO/Bgeu5woMc7RY0p1ej6D4CKFE6lymSDJpW0YHX/wqE9+cfEauh7xZcG0q9t2ta6F6fmX0agvpFyZo8aFbXeUBr7osSCJNgvavWbM/06niWrOvYX2xwWdhXmXSrbX8ZbabVohBK41 email@example.com"
tags = {
BusinessUnit = "tools"
Application = "cicd"
}
}
terraform init
terraform plan
# use -var-file=terraform.tfvars
if you plan to use a different file for the value overrides. See examples folder
terraform apply -auto-approve
# use -var-file=terraform.tfvars
if you plan to use a different file for the value overrides. See examples folder
Note: The
terraform.tfvars
file will need to be created in the root directory with value overrides
Name | Version |
---|---|
terraform | ~> 1.0 |
aws | ~> 4.0 |
local | ~> 2.0 |
null | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 4.0 |
Name | Type |
---|---|
aws_key_pair.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
key_name | The name for the EC2 key pair. | string |
null |
yes |
public_key | The public key material. | string |
"" |
yes |
tags | A map of tags for the resources. | map(string) |
{} |
no |
Name | Description |
---|---|
key_pair_fingerprint | The MD5 public key fingerprint. |
key_pair_name | The EC2 key pair name. |
This module is maintained by our awsome platform engineering team. Here are our contributors
See LICENSE for full details
All other trademarks referenced herein are the property of their respective owners