We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03cae13 commit 52c87f8Copy full SHA for 52c87f8
2 files changed
terraform/lab04-key.pub
@@ -0,0 +1 @@
1
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIq1IdSCmEm19mjtNcK+5XpAAFMlm0+DIHKf4Zw4aFPT github-actions-deploy
terraform/main.tf
@@ -49,7 +49,7 @@ resource "aws_security_group" "lab04_sg" {
49
50
resource "aws_key_pair" "lab04" {
51
key_name = "lab04-key"
52
- public_key = file("${pathexpand("~/.ssh/id_ed25519.pub")}")
+ public_key = file("${path.module}/lab04-key.pub")
53
}
54
55
resource "aws_instance" "lab04_vm" {
0 commit comments