SquareOps Technologies Your DevOps Partner for Accelerating cloud journey.
Terraform module which creates EC2 key pair on AWS. The private key will be stored in AWS Systems Manager's Parameter Store.
module "key_pair" {
source = "squareops/keypair/aws"
environment = "production"
key_name = "example-key"
ssm_parameter_path = "production-example-key"
}
Refer this for more examples.
To Retrieve the Private key from SSM:
aws ssm get-parameter --region=us-east-1 --name "production-example-key" --with-decryption --output text --query Parameter.Value
Additionally, to save the private to a file:
aws ssm get-parameter --region=us-east-1 --name "production-example-key" --with-decryption --output text --query Parameter.Value > private-key.pem
The required IAM permissions to create resources from this module can be found here
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.21 |
tls | >= 3.4 |
Name | Version |
---|---|
aws | >= 4.21 |
Name | Source | Version |
---|---|---|
key_pair | terraform-aws-modules/key-pair/aws | 2.0.0 |
Name | Type |
---|---|
aws_ssm_parameter.ssm_ec2_keypair | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment | Environment identifier for the key pair | string |
"" |
no |
key_name | The name for the key pair to be generated | string |
"" |
no |
ssm_parameter_path | The name of the ssm parameter for storing the keypair | string |
"/example/ssm" |
no |
Name | Description |
---|---|
key_pair_name | The key pair name. |
ssm_parameter_arn | The SSM parameter ARN of key pair. |
To report an issue with a project:
- Check the repository's issue tracker on GitHub
- Search to see if the issue has already been reported
- If you can't find an answer to your question in the documentation or issue tracker, you can ask a question by creating a new issue. Make sure to provide enough context and details .
Apache License, Version 2.0, January 2004 (http://www.apache.org/licenses/).
To support a GitHub project by liking it, you can follow these steps:
-
Visit the repository: Navigate to the GitHub repository
-
Click the "Star" button: On the repository page, you'll see a "Star" button in the upper right corner. Clicking on it will star the repository, indicating your support for the project.
-
Optionally, you can also leave a comment on the repository or open an issue to give feedback or suggest changes.
Starring a repository on GitHub is a simple way to show your support and appreciation for the project. It also helps to increase the visibility of the project and make it more discoverable to others.
We believe that the key to success in the digital age is the ability to deliver value quickly and reliably. That’s why we offer a comprehensive range of DevOps & Cloud services designed to help your organization optimize its systems & Processes for speed and agility.
- We are an AWS Advanced consulting partner which reflects our deep expertise in AWS Cloud and helping 100+ clients over the last 5 years.
- Expertise in Kubernetes and overall container solution helps companies expedite their journey by 10X.
- Infrastructure Automation is a key component to the success of our Clients and our Expertise helps deliver the same in the shortest time.
- DevSecOps as a service to implement security within the overall DevOps process and helping companies deploy securely and at speed.
- Platform engineering which supports scalable,Cost efficient infrastructure that supports rapid development, testing, and deployment.
- 24*7 SRE service to help you Monitor the state of your infrastructure and eradicate any issue within the SLA.
We provide support on all of our projects, no matter how small or large they may be.
To find more information about our company, visit squareops.com, follow us on Linkedin, or fill out a job application. If you have any questions or would like assistance with your cloud strategy and implementation, please don't hesitate to contact us.