Skip to content

Commit 4700a8b

Browse files
authored
Update main.tf
1 parent 826fe83 commit 4700a8b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

infra/ec2/main.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,3 @@ resource "aws_instance" "dev_proj_1_ec2" {
3434
http_tokens = "required" # Require the use of IMDSv2 tokens
3535
}
3636
}
37-
38-
resource "aws_key_pair" "dev_proj_1_public_key" {
39-
key_name = "aws_key"
40-
public_key = var.public_key
41-
}

0 commit comments

Comments
 (0)