Skip to content

Instantly share code, notes, and snippets.

View AmanM13's full-sized avatar
🎯
Focusing

Aman Manapure AmanM13

🎯
Focusing
View GitHub Profile
//Creating Key
resource "tls_private_key" "tls_key" {
algorithm = "RSA"
}
//Generating Key-Value Pair
resource "aws_key_pair" "generated_key" {
key_name = "Aman-env-key"
public_key = "${tls_private_key.tls_key.public_key_openssh}"
//Describing Provider
provider "aws" {
region = "ap-south-1"
profile = "Aman"
}