From d8a408c823a23c5361168f3f709a6af49b8f0bb7 Mon Sep 17 00:00:00 2001 From: jaezeu Date: Thu, 27 Jun 2024 20:31:30 +0800 Subject: [PATCH] Add keypair --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 4e0c8ba..f3789f4 100644 --- a/main.tf +++ b/main.tf @@ -3,7 +3,7 @@ resource "aws_instance" "public" { instance_type = "t2.micro" subnet_id = "subnet-0cc94b815da8f0c95" #ID of 1 of the public subnets associate_public_ip_address = true - key_name = "jazeel-key-pair" + key_name = "jazeel-new-keypair" vpc_security_group_ids = [aws_security_group.allow_ssh.id] tags = {